Clear Filters
Clear Filters

How can I plot diagram in MATLAB

1 view (last 30 days)
How can I plot this types of diagram in MATLAB?
  2 Comments
Stephen23
Stephen23 on 15 Dec 2015
You do not seem to have uploaded the image correctly. Can you try it again please.

Sign in to comment.

Accepted Answer

Mike Garrity
Mike Garrity on 15 Dec 2015
Here's a starting point.
for i=1:3
subplot(3,1,i)
plot(measured(i,:),'k')
hold on
plot(modeled(i,:),'k:')
xlabel('Samples')
ylabel('DO(mgL^{-1})')
legend('Measured','Modeled')
end
  1 Comment
Yeasir Mohammad Akib
Yeasir Mohammad Akib on 16 Dec 2015
Thanks Mike, I have another question, can I use this type of code to generate plot like that in ANN toolbox? That means I want to plot the modelled DO measured by Neural net.

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!