PLOTING IN MATLAB Asin(wt+ (w=2πf) θ) A=Amplitude (f=w/2π) w=Angular frequency t=Time Differences θ=Phase x=[1 2 4 5 7]; y=[4 7 8 5 8]; plot(x,y) x=[1 2 4 5 7]; y=[4 7 8 5 8]; plot(y,x) t=[pi*(0:0.02:2)]; y=sin(t); plot(y) t=[pi*(0:0.02:2)]; y=sin(t+pi/2); plot(y) t=[pi*(0:0.02:2)]; plot(t,sin(t)) t=[pi*(0:0.02:2)]; plot(t,cos(t)) t=[pi*(0:0.02:2)]; y=3*sin(3*t+0); plot(y) t=[pi*(0:0.02:2)];
PLOTING IN MATLAB Asin(wt+ θ) (w=2πf) A=Amplitude (f=w/2π) w=Angular frequency t=Time θ=Phase Differences x=[1 2 4 5 7]; y=[4 7 8 5 8]; plot(x,y) x=[1 2 4 5 7]; y=[4 7 8 5 8]; plot(y,x) t=[pi*(0:0.02:2)]; y=sin(t); plot(y) t=[pi*(0:0.02:2)]; y=sin(t+pi/2); plot(y) t=[pi*(0:0.02:2)]; plot(t,sin(t)) t=[pi*(0:0.02:2)]; plot(t,cos(t)) t=[pi*(0:0.02:2)]; y=3*sin(3*t+0); plot(y) t=[pi*(0:0.02:2)];
basic_matlab_operations.docx