Info
この質問は閉じられています。 編集または回答するには再度開いてください。
can I abbreviationv these steps to few steps?
1 回表示 (過去 30 日間)
古いコメントを表示
v_now=zeros(111,34);
v_now(1,2:33)=100;
v_now(6,14:21)=100;
v_now(5,2:5)=0;
v_now(5,30:33)=;
5 件のコメント
Walter Roberson
2013 年 10 月 5 日
You could remove the v_now(5,2:5)=0; as those locations were already set to 0 because you used zeros() to initialize the matrix.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!