loop for
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have this loop
For i=1:5
a=2*i;
end
I need to stock the value of (a) in the vector for each value of (i)
Please help me. Thanks in advance
1 件のコメント
Image Analyst
2012 年 2 月 4 日
Have you gone through the "Getting Started" documentation yet? You need to or else you'll have a thousand other very basic questions like this.
回答 (1 件)
参考
カテゴリ
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!