Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to loop ?

1 回表示 (過去 30 日間)
Nx mathlab
Nx mathlab 2022 年 2 月 4 日
閉鎖済み: Stephen23 2022 年 2 月 4 日
  1 件のコメント
Image Analyst
Image Analyst 2022 年 2 月 4 日
Are you asking us to do your homework for you?
Did you even try a for loop like it said to use? If not, why not?
theSum = 0;
for x = 0 : 20
% code
end

回答 (1 件)

KSSV
KSSV 2022 年 2 月 4 日
% Demo example
thesum = 0 ;
for i = 1:10
thesum = thesum + i ;
end

この質問は閉じられています。

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by