For loop nested plotting
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ileana Gonzalez
am 8 Dez. 2019
Kommentiert: Ileana Gonzalez
am 8 Dez. 2019
figure
plot(T,Cost)
Hi,
I have an overall for loop and then there are three nested for loops (one nested loop for each graph). I'm using linspace to run through 10 iterations for the three for loops and when I run my code I get 30 graphs. How do I only get the last three graphs from the 10th iteration?
Thank you.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!