Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

someone help with this matlab problem asap thank you .... Any periodic real signal g(t) with period To can be written as an infinite weighted

image text in transcribed

image text in transcribed

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

Any periodic real signal g(t) with period To can be written as an infinite weighted sum of oosine and sine functions, i.e. where fo = 1/To is the fundamental frequency and an, bn are the Fourier coefficients given by 0 J-To/2 (t) sin(2n fot)dt To J-To/2 If the signal g(t) is even, then b0, for n-1, .. .oo. For example, if g(t) is a periodic train of rectangular pulses with duration , then with a- sin and a A train of rectangular pulses can be approximated by adding up the first N terms of the sum, i.e., g(t) can be approximated by the sum: g(t)--ao + 2 an cos(2m/01) Exercise 3: Fourier Coefficients and Signal Reconstruction Let g(t) be a pulse train of amplitude A and period To seconds, where the pulse is on (not zero) only for T S To/2 sec. The function can be described analytically over one period -To/2 to To/2 as follows: go, 0. Consider that g(t) is a unit amplitude train of rectangular pulses of duration -2 seconds and with period To = 4 seconds, where t ranges fron t =-5 to t = 4.99 (seconds) with increments of 0.01 Create an M-file and: (a) Create an approximate g(t) using its Fourier Series with N = 10 terms. Plot the approximation of the Fourier Series. (b) Repeat question (a) for N = 3, and N = 50-Plot the approximations and comment the results. Comment also about the oscillatory behavior around the discontinuities of the approximated signal. (e) Plot the discrete spectrum of the signal given by an for n--20, 20. Use the command stem instead of plot. Type help stem for more information. Commen the figure. Any periodic real signal g(t) with period To can be written as an infinite weighted sum of oosine and sine functions, i.e. where fo = 1/To is the fundamental frequency and an, bn are the Fourier coefficients given by 0 J-To/2 (t) sin(2n fot)dt To J-To/2 If the signal g(t) is even, then b0, for n-1, .. .oo. For example, if g(t) is a periodic train of rectangular pulses with duration , then with a- sin and a A train of rectangular pulses can be approximated by adding up the first N terms of the sum, i.e., g(t) can be approximated by the sum: g(t)--ao + 2 an cos(2m/01) Exercise 3: Fourier Coefficients and Signal Reconstruction Let g(t) be a pulse train of amplitude A and period To seconds, where the pulse is on (not zero) only for T S To/2 sec. The function can be described analytically over one period -To/2 to To/2 as follows: go, 0. Consider that g(t) is a unit amplitude train of rectangular pulses of duration -2 seconds and with period To = 4 seconds, where t ranges fron t =-5 to t = 4.99 (seconds) with increments of 0.01 Create an M-file and: (a) Create an approximate g(t) using its Fourier Series with N = 10 terms. Plot the approximation of the Fourier Series. (b) Repeat question (a) for N = 3, and N = 50-Plot the approximations and comment the results. Comment also about the oscillatory behavior around the discontinuities of the approximated signal. (e) Plot the discrete spectrum of the signal given by an for n--20, 20. Use the command stem instead of plot. Type help stem for more information. Commen the figure

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions