Question

Exercise 2: Fourier Transform properties (a) Time Scaling. Create an M-file and: 1. Plot the waveform s(t)sinc(at/0.5) where

help with this matlab problem asap thank you....

0 0
Add a comment Improve this question Transcribed image text
Answer #1

%%
%a
t=-5:.01:4.99;
alpha=1;
s=.5*sin(alpha*t)./t;
figure
plot(t,s)
title(['Time scaling: s(t) for \alpha = ',num2str(alpha)])
figure
plot(t,abs(s))
title(['Time scaling: amplitude spectrum of s(t) for \alpha = ',num2str(alpha)])
alpha=2;
s=.5*sin(alpha*t)./t;
figure
plot(t,s)
title(['Time scaling: s(t) for \alpha = ',num2str(alpha)])
figure
plot(t,abs(s))
title(['Time scaling: amplitude spectrum of s(t) for \alpha = ',num2str(alpha)])

%%
%b
t=-5:.05:4.95;
s1=rectpuls(t);
s2=rectpuls(t-2.5);
figure
plot(t,s1,t,s2)
legend('s_1(t)','s_2(t)')
title('Time shifting: s_1(t) and s_2(t)')
figure
plot(t,abs(s1),t,abs(s2))
legend('s_1(t)','s_2(t)')
title('Time shifting: amplitude spectrum')

%%
%c
t=-5:.01:4.99;
s=sin(t)./t;
figure
plot(t,s)
title('Modulation Theorem: s(t)')
figure
plot(t,abs(s))
title('Modulation Theorem: amplitude spectrum of s(t)')
sm=s.*cos(2*pi*10*t);
figure
plot(t,sm)
title('Modulation Theorem: s_m(t)')
figure
plot(t,abs(sm))
title('Modulation Theorem: amplitude spectrum of s_m(t)')

Add a comment
Know the answer?
Add Answer to:
help with this matlab problem asap thank you.... Exercise 2: Fourier Transform properties (a) Time Scaling....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT