Question

3. For the periodic signal shown below, find the period T and compute the main harmonics. For our purposes, “main” means having at least 2% of the amplitude of the fundamental harmonic. Use MATLAB to plot the signal for two pFor the periodic signal shown below, find the period T and compute the main harmonics. For our purposes, main means having at least 2% of the amplitude of the fundamental harmonic. Use MATLAB to plot the signal for two periods. Also plot approximations to the signal using finitely many harmonics r(t) 1 23 4 5 6 7 8eriods. Also plot approximations to the signal using finitely many harmonics..

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

Consider the signal x(r) The signal repeats for every 3 seconds Thus, the time period Tis 3 sec Define the signal -0 2<t<3 De

2π 2Tn 2πη Sih ATn sin+COS The Fourier series is, 2770s(2m)-1 2mn 2722 Sin-t , cos The fundamental harmonics are obtained by

Determine the main harmonics 4π 8T 47 8r 3 ) 2π 4π 87 sin_t 87323 = 1-0019 + 0.1378 +0.038 cos 0.0329 +0.157 sint -1+ 2π 2T f

1.2 0.8 0.6 0.4 0.2 4 a0-0.5; ft-a0 t 0:0.001:6,; for n-1: 1000 an (3./ (2.*pi*n.*2)) . *cos (2*pi*n/3) (1/ (pi*n)) . *sin (4

MATLAB code:

function f=sig(t)

if t<=1

    f=t;

elseif t<=2

    f=1;

elseif t<=3

   f=0;

elseif t<=4

    f=t-3;

elseif t<=5

    f=1;

else

   f=0;

end

fplot(@sig,[0 6])

xlabel t

ylabel x(t)

---------------

a0=0.5;

ft=a0;

t=0:0.001:6;

for n=1:1000

an=(3./(2.*pi*n.^2)).*cos(2*pi*n/3)+(1/(pi*n)).*sin(4.*pi.*n/3)-3/(2.*pi.^2*n.^2);

bn=(3./(2.*pi.^2.*n.^2)).*sin(2.*pi.*n./3)+(1./(pi.*n)).*cos(4.*pi.*n./3);

ft=ft+an.*cos(n.*2.*pi.*t./3)+bn.*sin(n.*2.*pi.*t./3);

end

plot(t,ft)

Add a comment
Know the answer?
Add Answer to:
3. For the periodic signal shown below, find the period T and compute the main harmonics....
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
  • Problem (3) a) A periodic square wave signal x(t) is shown below, it is required to answer the below questions: x(t) 1. What is the period and the duration of such a signal? 2. Determine the fund...

    Problem (3) a) A periodic square wave signal x(t) is shown below, it is required to answer the below questions: x(t) 1. What is the period and the duration of such a signal? 2. Determine the fundamental frequency. 3. Calculate the Trigonometric Fourier Series and sketch the amplitude spectrum and phase spectrum of the signal x(t) for the first 5 harmonics. b) Find the Continuous Time Fourier Series (CTFS) and Continuous Time Fourier Transform (CTFT) of the following periodic signals...

  • Q1) For the periodic signals x() and ) shown below: x(t) YCO y(t) a) Find the exponential Fourier...

    Q1) For the periodic signals x() and ) shown below: x(t) YCO y(t) a) Find the exponential Fourier series for x(t) and y). b) Sketch the amplitude and phase spectra for signal x(). c) Use Parseval's theorem to approximate the power of the periodic signal x() by calculating the power of the first N harmonics, such that the strength of the Nth harmonic is 10% or more of the power of the DC component. Q1) For the periodic signals x()...

  • (a) Determine the period, amplitude, and frequency of a signal given by, v(t) (120nt). Plot this ...

    (a) Determine the period, amplitude, and frequency of a signal given by, v(t) (120nt). Plot this signal both in the time-domain and frequency domain. (b) For the following square wave v(t), determine if it is a periodic signal, and if yes, what 10 V sin 4. [61 are its amplitude, period T and fundamental frequency f? Why do we need to convert this signal into sine/cosine wave for transmission? 2 o-oims (c) () According to Fourier Theorem, the above signal...

  • Let a periodic signal x(t) with a fundamental frequency ??e2? have a period 4.6 (a) Plot...

    Let a periodic signal x(t) with a fundamental frequency ??e2? have a period 4.6 (a) Plot x(t), and indicate its fundamental period To (b) Compute the Fourier series coefficients of x(t) using their integral (c) (d) Answers: x(t) is periodic of fundamental period definition. Use the Laplace transform to compute the Fourier series coefficients Xk. Indicate how to compute the dc term. Suppose that y(t) = dx(t)/dt, find the Fourier transform of x(t) by means of the Fourier series coefficients...

  • Problem 4: A signal x(t) is given mathematically as follows: x(t) = 4.5+ 3.8cos(27 74t -...

    Problem 4: A signal x(t) is given mathematically as follows: x(t) = 4.5+ 3.8cos(27 74t - 31/11) - 2 cos(21 296t+1/3) 4.1. Sketch the spectrum of the signal. Is x(t) periodic? If so, what is its fundamental frequency and what are the signal harmonics? Write down the number of each harmonic (0, 1, 2, ... etc) and the frequency of each harmonic. Verify in MATLAB 4.2. A new signal z(t) is created by adding a sinusoidal signal y(t) to x(t)....

  • A periodic signal, x(t) is shown below. A = 10, T-4 sec. -T Write a MATLAB script to plot the sig...

    A periodic signal, x(t) is shown below. A = 10, T-4 sec. -T Write a MATLAB script to plot the signal, using enough points to get a smooth curve. Compute the Fourier series coefficients for the signal (if you can find them in the text, that is ok). Plot the single-sided or double-sided spectra for each signal. Include enough frequencies in the plots to adequately represent the frequency content of the signals. Plot partial sums of the Fourier series for...

  • Problem 2: Consider the following periodic signals x(t), a square wave, and yt), a saw tooth...

    Problem 2: Consider the following periodic signals x(t), a square wave, and yt), a saw tooth 2T The pulses width of x(t) т, wave. Both have the same amplitude A and the same frequency - equal T. The duty-cycle of x(t) is defined as d- T. -A From tables of Fourier Series ofvarious periodic signals, the following formulas are given for your convenience x(= Ad+2Adnacos at+2Ad sna cos 2at+2Adl sun 3xdcos3at яd 2лd Зяd 24 (sin a 1 sin 2asin3ajain...

  • Consider the periodic signal x(t) shown in the Figure below: x(t) . 3 2 0 1...

    Consider the periodic signal x(t) shown in the Figure below: x(t) . 3 2 0 1 2 3 4 5 6 t A. Determine the fundamental period T and the fundamental frequency wo. B. Compute the Fourier Series coefficients and simplify the expression to its simplest form.

  • 20 points) Consider the periodic signal z(t) shown in the Figure below: X(t) 3 2 N....

    20 points) Consider the periodic signal z(t) shown in the Figure below: X(t) 3 2 N. 0 1 2 3 4 5 6 A . Determine the fundamental period T and the fundamental frequency wo. B. Compute the Fourier Series coefficients and simplify the expression to its simplest form.

  • 4. (20 points) Consider the periodic signal r(t) shown in the Figure below: x(t) 3 2...

    4. (20 points) Consider the periodic signal r(t) shown in the Figure below: x(t) 3 2 N VAA 0 1 2 3 4 5 6 A . Determine the fundamental period T and the fundamental frequency wo. B. Compute the Fourier Series coefficients and simplify the expression to its simplest form.

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