Question

Find a Fourier series representation in the form x(t)-xp ol + 〉 2 KI k || cos(kat+ X | k |) of a. に! the impulse train and pl

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

Qa) It is calculated using the definition of FS

Qb) To solve this, integration property of FS is made used

ehare 3.4) e-jk2万ht dt T. T. xCk] is plotted for hr3l S harmonie as bebw 432-11234k Qb) Let us define a signal YHl=/ L7(f), TT, 2 A 2 To T D Usng Founer certs prepuhes can i 2 A Sin A Sinc She (k This can L x [s 3 71The required MATLAB code is as below

clc
X1=[2/(5*pi),0,-2/(3*pi),0,2/pi,0,2/pi,0,-2/(3*pi),0,2/(5*pi)]; % this array contains values of FS of x(t)
n1=-5:1:5;
figure(1) % this plots spectrum of x(t) up to first 5 harmonics
stem(n1,X1);
title('plot of Fourier series of x(t)');
xlabel('k');
ylabel('X[k]');

% now X[k] is constructed for -100<k<100
k=1;
j=sqrt(-1);
for n=-100:1:100
if (n==0)
X(k)=0;
else
X(k)=(2*sin(n*pi/2))/(n*pi);
end
k=k+1;
end

%calculation of reconstructed x(t) from its FS coefficients

tp=1;
for tt=0:0.01:5
s=0;
for k=-100:1:100
s=s+X(k+101)*exp(+j*2*pi*k*tt);
end
xp(tp)=s;
tp=tp+1;
end

tt=0:0.01:5;
figure(2) % plot of reconstructed x(t)
plot(tt,real(xp));
title('plot of reconstructed x(t)from X[k]');
xlabel('t');
ylabel('xp(t)');

The plots are shown below

plot of Fourier series of x(t) 0.7 r 0.6 0.5 0.4 0.3 0.2 0.1 0.1 -0.2 -0.3 -5 -3-2 0 13 45

plot of reconstructed x(t)from X[k] 0.8 0.6 0.4 0.2 -0.2 -0.4 -0.6 -0.8 -1 0 0.5 1 15 2 25 3 3.5 4 45 5

Add a comment
Know the answer?
Add Answer to:
Find a Fourier series representation in the form x(t)-xp ol + 〉 2 KI k ||...
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