Professional Documents
Culture Documents
Matlab 3
Matlab 3
x(t-2)
b. x(2t)
c. x(t/2)
d. x(-t)
subplot(2,2,1),plot(t,y1,'r')
xlabel('Time'),ylabel('Ans a')
axis([-5 8 -2 4])
subplot(2,2,2),plot(t,y2,'y')
xlabel('Time'),ylabel('Ans b')
axis([-5 8 -2 4])
subplot(2,2,3),plot(t,y3,'g')
xlabel('Time'),ylabel('Ans c')
axis([-4 9 -2 4])
subplot(2,2,4),plot(t,y4)
xlabel('Time'),ylabel('Ans d')
axis([-5 8 -2 4])
OUTPUT-