How to plot the curve of diffrent outputs?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Danny Helwegen
am 26 Nov. 2018
Beantwortet: madhan ravi
am 26 Nov. 2018
I have written my code and want to plot a curve of N vs D, but the outcome of my code isn't one array it are diffrent arrays. So my question is, how can I modify the outcome to make it useable for the plot?
This is the outcome of the code:
Out =
1 6
Out =
2 5
Out =
3 22
Out =
4 33
Out =
5 33
How can I now plot this outcome?
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 26 Nov. 2018
Out=cell(1,5);
for i = 1:5;
Out{i}=...... your calculation
end
plot([Out{:}])
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!