how to do looping with over many variables ? (MONTE CARLO)

2 次查看(过去 30 天)
Hey, very new to matlab. What command should I use to loop over many variables ? e.g. n=3,4,5,.....100. Thanks.

采纳的回答

KSSV
KSSV 2020-11-19
for n = 3:100
n
end
  11 个评论
Jardine Shi
Jardine Shi 2020-11-19
yeap, I just found it. I just need to put xlim or ylim on the last line hahaha
KSSV
KSSV 2020-11-19
axis works for both the limits at once...._xlim_, ylim is to fix seperately.
And thanks is accepting/ voting the answer. :)

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by