MATLAB Answers

0

How to run a for-loop multiple times?

Asked by Brooke Gest on 19 Apr 2019
Latest activity Answered by madhan ravi
on 19 Apr 2019
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!!!

  0 Comments

Sign in to comment.

1 Answer

Answer by madhan ravi
on 19 Apr 2019

for k=1:100
for ...
% some operation
end
end

  0 Comments

Sign in to comment.