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

2 次查看(过去 30 天)
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.

采纳的回答

Birdman
Birdman 2018-4-6
编辑:Birdman 2018-4-6
A=output1(:,1,:);B=output1(:,2,:);
plot(reshape(A,size(output1,3),1),reshape(B,size(output1,3),1))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by