フィルターのクリア

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

2 ビュー (過去 30 日間)
Jardine Shi
Jardine Shi 2020 年 11 月 19 日
コメント済み: KSSV 2020 年 11 月 19 日
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