Gistlib Logo

gistlib

other matlab categories

pattern code snippets in matlab

make an alternating array of 1's and 0's in matlab
write a matlab/octave script that takes 7 as input and print the following pattern. 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 in matlab

gistlibby LogSnag