I'm completely new to MATLAB, and I can't figure out how to do the following: I have
A=[-1,0.4,0.8;1,0,0;0,1,0];
b=[0;0.3;6];
What I want to do is define, for $N$ fixed but arbitrary, a $3\times N$ matrix C by having the $i$th column of C be $A^{(N-i)}b$. Without doing the calculations separately beforehand, how can I have MATLAB compute and set C as this matrix?