generating a sequence 1,2,3,4,....,n
99 ビュー (過去 30 日間)
古いコメントを表示
Without using a for loop, how can I generate an index 1,2,3,...,n?
0 件のコメント
採用された回答
R.U.F.
2012 年 4 月 21 日
vector=[1:stepsize:n] if the stepsize =1 as in your case, you can disregard it
1 件のコメント
その他の回答 (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!