How can I plot diagram in MATLAB

How can I plot this types of diagram in MATLAB?

2 Comments

You do not seem to have uploaded the image correctly. Can you try it again please.

Sign in to comment.

 Accepted Answer

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

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!