Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
could anyone help me to fix the issue
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
N_rng=[ 1 2 3 4 5 23]
N_rng=[6 7 8 9 10 25 26]
N_rng=[11 12 13 14 15 16 17]
for s=1:length(N_rng)
..
..
..
end
for the above code how to use N_rng with respect to three different scenarios in the for loop.
0 Kommentare
Antworten (1)
Birdman
am 5 Apr. 2018
Bearbeitet: Birdman
am 5 Apr. 2018
N_rng={[ 1 2 3 4 5 23];[6 7 8 9 10 25 26];[11 12 13 14 15 16 17]}
for i=1:size(N_rng,1)
N_rng{i,:}
..
end
2 Kommentare
Birdman
am 5 Apr. 2018
It works well for me. Make sure you copied the code correctly or clear the workspace before you run this code.
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!