Suppose I have a loop
for m=1:8;a=5+m; b=3*m;A=[a, b a*b; b, a+b, a-b; 2-a, 3+b a]end
I will get 8 matrices, now I want to take first element of each matrix to form a column matrix of size 8×1. How to do this?? Please help…..Thanks
MATLABmatrix manipulation
for m=1:8;a=5+m; b=3*m;A=[a, b a*b; b, a+b, a-b; 2-a, 3+b a]end
Best Answer