Filter löschen
Filter löschen

could anyone help me to plot the graph for the result shown below.

2 Ansichten (letzte 30 Tage)
result:
output1(:,:,1) =1.0e+10 * 1.8380 1.9754
output1(:,:,2) =1.0e+10 * 2.0014 2.1991
output1(:,:,3) =1.0e+10 * 1.8425 2.0028
output1(:,:,4) =1.0e+10 * 2.0771 2.1659
output1(:,:,5) =1.0e+10 * 0 2.1944
I want to plot the values (1.8380,2.0014,1.8425,2.0071) separately and (1.9754,2.1991,2.0028,2.1659,2.1944) separately into one graph.These values are generated by the code and so i cannot assign it. could anyone help me to plot the graph.

Akzeptierte Antwort

Birdman
Birdman am 6 Apr. 2018
Bearbeitet: Birdman am 6 Apr. 2018
A=output1(:,1,:);B=output1(:,2,:);
plot(reshape(A,size(output1,3),1),reshape(B,size(output1,3),1))

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by