i have this code as an example
for n=1:4 g=n+1 r=n+2 e=n+3 c=n+4 A=[g r;e c] W(n,:)=Aend
So i am trying to store every A produced in a matrix form as the program loops from 1 to 4 but to no avail. So can you help me.
array
for n=1:4 g=n+1 r=n+2 e=n+3 c=n+4 A=[g r;e c] W(n,:)=Aend
Best Answer