MATLAB: How to plot diagram in MATLAB

MATLABneural network

How can I plot this types of diagram in MATLAB?

Best 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
Related Question