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

1 vue (au cours des 30 derniers jours)
Prabha Kumaresan
Prabha Kumaresan le 6 Avr 2018
Modifié(e) : Birdman le 6 Avr 2018
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.

Réponse acceptée

Birdman
Birdman le 6 Avr 2018
Modifié(e) : Birdman le 6 Avr 2018
A=output1(:,1,:);B=output1(:,2,:);
plot(reshape(A,size(output1,3),1),reshape(B,size(output1,3),1))

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by