Professional Documents
Culture Documents
NO:R170267 CLASS:T-03
RECTANGLE
clc;
close all;
clear all;
t=-20:0.01:10;
y=(t>=-10&t<=7);
subplot(2,2,1);
plot(t,4*y,'b');
xlabel('time')
ylabel('amplitude')
title('rectangle')
NAME:G.TEJA ID.NO:R170267 CLASS:T-03
subplot(2,2,2)
plot(t-3,4*y,'b')
xlabel('time')
ylabel('amplitude')
title('left shift')
subplot(2,2,3)
plot(t+3,4*y,'b')
xlabel('time')
ylabel('amplitude')
title('right shift')
NAME:G.TEJA ID.NO:R170267 CLASS:T-03