Assignment OF MATLAB PDF
Assignment OF MATLAB PDF
clear all
x=0:0.01:3*pi;
subplot (2,2,1);
plot(x, sin(x));
subplot (2,2,2);
plot(x, cos(x));
subplot (2,2,3)
plot (x, exp (-x));
subplot (2,2,4);
plot (x, x.^2);
Question No 3: Plot following equations on Matlab and use question 2 for subplots. Also
write comments for each line, Label axis and plot. Use Range for both equations are
(1)
(2)