How to plot the curve of diffrent outputs?

조회 수: 1 (최근 30일)
Danny Helwegen
Danny Helwegen 2018년 11월 26일
답변: madhan ravi 2018년 11월 26일
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?

채택된 답변

madhan ravi
madhan ravi 2018년 11월 26일
Out=cell(1,5);
for i = 1:5;
Out{i}=...... your calculation
end
plot([Out{:}])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by