Question

X(t) 2 2 46 1. compute the Fourier Series coefficients, ck for the signal x(t) 2. plot magnitude of c and the phase of ck in separate plots (use subplot command) plot the Fourier Series coefficients for the square wave signal: ck(12/9) sinc(2k/3)PLZ shows you Matlab Code

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

Soluton m Tn ㄒ 2 大d臭- 2 2 2. 2 2m. an 2. 4 2 ス K aa n

clc;
close all;
clear all;
k=-5:0.1:5;
ck=(2*pi*k.*sin(2*pi*k)+cos(2*pi*k)-1).*(pi*k).^(-2)
cphase=0*k;
subplot(2,1,1)
stem(k,ck)
title('Subplot 1: magnitude plot')

subplot(2,1,2)
ylim([-2 2])
stem(k,cphase)

title('Subplot 2: phase plot')

Subplot 1: magnitude plot 5 4 3 -2 0 1 2 3 4 5 Subplot 2: phase plot 0.5 0.5 5 4 3 2-1 0 2345

clc;
close all;
clear all;
k=-5:0.01:5;
ck=(12/9)*sinc(2*k/3);
plot(k,ck)

1.4 1.2 0.8 0.6 0.4 0.2 0 -0.2 -0.4 5 4 3 2-1 0 2345

Add a comment
Know the answer?
Add Answer to:
PLZ shows you Matlab Code X(t) 2 2 46 1. compute the Fourier Series coefficients, ck...
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
Active Questions
ADVERTISEMENT