how can i pass the values to an array?
Show older comments
for i=1:10
j=i*5:
end
output will be:
5,
10,
......
50.
how can i pass these output values(5.....50) in an array?
Accepted Answer
More Answers (1)
Image Analyst
on 22 Sep 2015
Or get rid of the "for":
i=1:10;
j=i*5;
Categories
Find more on Get Started with 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!