when ever i do
for n=1:20
it loops n 20 times and multiplies it by .15 each time
which results in a vector from 1 to 3
this is what i put together which seems to work
clear all %Removes all variables, functions, and MEX-files from memory, leaving the workspace empty...