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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Birdman
Birdman el 6 de Abr. de 2018
Editada: Birdman el 6 de Abr. de 2018
A=output1(:,1,:);B=output1(:,2,:);
plot(reshape(A,size(output1,3),1),reshape(B,size(output1,3),1))

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by