how to store a vector that i got from a for loop ?
Show older comments
i need put all results in the same vector, the vector A only show me the last result in the for loop
for i=1:3
a=[2+i,i]
d=[5+2*i, 3*i]
endfor
A=[a' d' ]
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!