How to run a for-loop multiple times?
Show older comments
Hey guys!!! I am new to MATLAB and I was wondering how I can run a for-loop 100 times. I just need a very basic answer; I don't want to post the entire code because it is for homework but I just need help figuring out the general concept. Thanks!!!
Answers (1)
madhan ravi
on 19 Apr 2019
for k=1:100
for ...
% some operation
end
end
Categories
Find more on Programming 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!