Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
can I abbreviationv these steps to few steps?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 5 Okt. 2013
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.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!