creating matrix with iteration
Show older comments
lets say I have this code: for i=1:4 sum=1+i end i want program to create a ix2 matrix (1st column values are 3) at each iteration. ex: at i=3 => A=[2 3;3 3;3 4] at i=4 => A=[2 3;3 3;3 4;3 5]
Accepted Answer
More Answers (1)
Categories
Find more on Calculus 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!