can i write simple for loop in the command window
60 ビュー (過去 30 日間)
古いコメントを表示
Have some output data and I need to organize it. simple for loop will do but can i write it in the command window?
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 8 月 1 日
編集済み: Azzi Abdelmalek
2013 年 8 月 1 日
for k=1:3;a(k)=k^2;end
%or
for k=1:3,...
a(k)=k^2,...
end
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!