MATLAB 101: How to Plot two lines and label it on the same graph - YouTube
How to plot using matlab basic commands This is the code to use as a reference for your MATLAB code. %you comment here x=1:20; y=1:20; y2=-20:-1; plot(x,y,'r',x,y2,'g'); legend('Y','Y2'); xlabel('Time'); ylabel('Data'); %you can use semicolon here if you ...