Professional Documents
Culture Documents
1) x(t-3)
>> t=-3:0.1:3;
>> a=sin(2*pi*(t-3));
>> b=exp(-((t-3).*(t-3)));
>> y=a.*b;
>> plot(t,y)
>> grid
2) x(t/3)
>> t=-3:0.1:3;
>> a=sin(2*pi*(t/3));
>> b=exp(-((t/3).*(t/3)));
>> y=a.*b;
>> plot(t,y)
>> grid
3) 3.x (3.t)
>> t=-3:0.1:3;
a=sin(2*pi*(t*3));
b=exp(-((t*3).*(t*3)));
y=3*(a.*b);
plot(t,y)
grid