Find the compact trigonometric Fourier series for the periodic signal.pdf

Find the compact trigonometric Fourier series for the periodic signal x(t) and sketch the amplitude and phase spectrum for first 4 frequency components. By inspection of the spectra, sketch the exponential Fourier spectra. By inspection of spectra in part b), write the exponential Fourier series for x(t) Solution ECE 3640 Lecture 4 – Fourier series: expansions of periodic functions. Objective: To build upon the ideas from the previous lecture to learn about Fourier series, which are series representations of periodic functions. Periodic signals and representations From the last lecture we learned how functions can be represented as a series of other functions: f(t) = Xn k=1 ckik(t). We discussed how certain classes of things can be built using certain kinds of basis functions. In this lecture we will consider specifically functions that are periodic, and basic functions which are trigonometric. Then the series is said to be a Fourier series. A signal f(t) is said to be periodic with period T0 if f(t) = f(t + T0) for all t. Diagram on board. Note that this must be an everlasting signal. Also note that, if we know one period of the signal we can find the rest of it by periodic extension. The integral over a single period of the function is denoted by Z T0 f(t)dt. When integrating over one period of a periodic function, it does not matter when we start. Usually it is convenient to start at the beginning of a period. The building block functions that can be used to build up periodic functions are themselves periodic: we will use the set of sinusoids. If the period of f(t) is T0, let 0 = 2/T0. The frequency 0 is said to be the fundamental frequency; the fundamental frequency is related to the period of the function. Furthermore, let F0 = 1/T0. We will represent the function f(t) using the set of sinusoids i0(t) = cos(0t) = 1 i1(t) = cos(0t + 1) i2(t) = cos(20t + 2) . . . Then, f(t) = C0 + X n=1 Cn cos(n0t + n) The frequency n0 is said to be the nth harmonic of 0. Note that for each basis function associated with f(t) there are actually two parameters: the amplitude Cn and the phase n. It will often turn out to be more useful to represent the function using both sines and cosines. Note that we can write Cn cos(n0t + n) = Cn cos(n) cos(n0t) Cn sin(n)sin(n0t). ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 2 Now let an = Cn cos n bn = Cn sin n Then Cn cos(n0t + n) = an cos(n0t) + bn sin(n0t) Then the series representation can be f(t) = C0 + X n=1 Cn cos(n0t + n) = a0 + X n=1 an cos(n0t) + bn sin(n0t) The first of these is the compact trigonometric Fourier series. The second is the trigonometric Fourier series.. To go from one to the other use C0 = a0 Cn = p a 2 n + b 2 n n = tan1 (bn/an). To complete the representation we must be able to compute the coefficients. But this is the same sort of thing we did before. If we can show that the set of functions {cos(n0t),sin(n0t)} is in fact an orthogonal set, then we can use the same.

Find the compact trigonometric Fourier series for the periodic signal x(t) and sketch the
amplitude and phase spectrum for first 4 frequency components. By inspection of the spectra,
sketch the exponential Fourier spectra. By inspection of spectra in part b), write the exponential
Fourier series for x(t)
Solution
ECE 3640 Lecture 4 – Fourier series: expansions of periodic functions. Objective: To build upon
the ideas from the previous lecture to learn about Fourier series, which are series representations
of periodic functions. Periodic signals and representations From the last lecture we learned how
functions can be represented as a series of other functions: f(t) = Xn k=1 ckik(t). We discussed
how certain classes of things can be built using certain kinds of basis functions. In this lecture we
will consider specifically functions that are periodic, and basic functions which are
trigonometric. Then the series is said to be a Fourier series. A signal f(t) is said to be periodic
with period T0 if f(t) = f(t + T0) for all t. Diagram on board. Note that this must be an everlasting
signal. Also note that, if we know one period of the signal we can find the rest of it by periodic
extension. The integral over a single period of the function is denoted by Z T0 f(t)dt. When
integrating over one period of a periodic function, it does not matter when we start. Usually it is
convenient to start at the beginning of a period. The building block functions that can be used to
build up periodic functions are themselves periodic: we will use the set of sinusoids. If the period
of f(t) is T0, let 0 = 2/T0. The frequency 0 is said to be the fundamental frequency; the
fundamental frequency is related to the period of the function. Furthermore, let F0 = 1/T0. We
will represent the function f(t) using the set of sinusoids i0(t) = cos(0t) = 1 i1(t) = cos(0t + 1)
i2(t) = cos(20t + 2) . . . Then, f(t) = C0 + X n=1 Cn cos(n0t + n) The frequency n0 is said to be
the nth harmonic of 0. Note that for each basis function associated with f(t) there are actually two
parameters: the amplitude Cn and the phase n. It will often turn out to be more useful to
represent the function using both sines and cosines. Note that we can write Cn cos(n0t + n) = Cn
cos(n) cos(n0t) Cn sin(n)sin(n0t). ECE 3640: Lecture 4 – Fourier series: expansions of periodic
functions. 2 Now let an = Cn cos n bn = Cn sin n Then Cn cos(n0t + n) = an cos(n0t) + bn
sin(n0t) Then the series representation can be f(t) = C0 + X n=1 Cn cos(n0t + n) = a0 + X n=1 an
cos(n0t) + bn sin(n0t) The first of these is the compact trigonometric Fourier series. The second
is the trigonometric Fourier series.. To go from one to the other use C0 = a0 Cn = p a 2 n + b 2 n
n = tan1 (bn/an). To complete the representation we must be able to compute the coefficients.
But this is the same sort of thing we did before. If we can show that the set of functions
{cos(n0t),sin(n0t)} is in fact an orthogonal set, then we can use the same formulas we did before.
Check: Z T0 cos(n0t) cos(m0t) dt = 0 n 6= m T0 2 n = m 6= 0 So pairs of cosine functions are
orthogonal. Similarly, Z T0 sin(n0t)sin(m0t) dt = 0 n 6= m T0 2 n = m 6= 0 So pairs of sin
functions are orthogonal. Also, Z T0 sin(n0t) cos(m0t) dt = 0 for all n and m. So the sines and
cosines are orthogonal to each other. This means that we can use our formulas: an = hf(t),
cos(n0t)i h cos(n0t), cos(n0t)i = 2 T0 Z T0 f(t) cos(n0t) dt bn = hf(t),sin(n0t)i hsin(n0t),sin(n0t)i
= 2 T0 Z T0 f(t)sin(n0t) dt The only exception is the coefficient a0: a0 = hf(t), 1i h1, 1i = 1 T0 Z
T0 f(t) dt Example 1 Let us start with a square wave: ECE 3640: Lecture 4 – Fourier series:
expansions of periodic functions. 3 f(t) = 1 /2 < t < /2 0 t [, /2),(, 2, ] and its periodic extension.
The period is T0 = 2, so 0 = 2/T0 = 1. The series is f(t) = a0 + X n=1 an cos nt + bn sin nt The
coefficients can be found as follows: a0 = 1 2 Z /2 /2 dt = 1 2 an = 1 Z /2 /2 cos nt dt = 2 n
sin(n/2) = 0 n even 2 n n = 1, 5, 9, 13, . . . 2 n n = 3, 7, 11, 15, . . . bn = 1 Z /2 /2 sin nt dt = 0.
We can write f(t) = 1 2 + 2 cost 1 3 cos 3t + 1 5 cos 5t 1 7 cos 7t + · · · . Here is an interesting
tidbit: Evaluate this at t = 0: 1 = 1 2 + 2 1 1 3 + 1 5 1 7 + · · · . Solving, we get = 4 1 1 3 + 1 5
1 7 + · · · . In the compact form, C0 = 1 2 Cn = 0 n even 2 n n odd n = n = 3, 7, 11, 15, . . ., 0
otherwise It is interesting to see how the function gets built up at the pieces are added ECE
3640: Lecture 4 – Fourier series: expansions of periodic functions. 4 together: The Fourier
Spectrum For a function f(t) having a compact trigonometric Fourier series, the set of amplitudes
{Cn} and the set of phases {n} provide all the information necessary to represent the function.
(This is interesting, if you think about it: a function which is defined at every point in a
continuum can be represented with only a countable number of points.) A plot of the amplitudes
{Cn} vs. the is the amplitude spectrum of the signal. A plot of the phase {n} vs. is the phase
spectrum of the signal. Example 2 Show the magnitude and phase spectrum of the square wave
from the previous example. Actually, if we allow the amplitude to show a shift of by allowing a
signed ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 5 quantity, then
the task is somewhat easier: In this case the spectrum is said to be an amplitude spectrum, rather
than a magnitude spectrum. The amplitude spectrum is convenient to work with whenever all the
sine terms are zero, so all the information is conveyed in the {an}. Example 3 Find the Fourier
series of the following signal, and plot its magnitude and phase spectrum. The signal is periodic
with T0 = 2. The fundamental frequency is 0 = 2 2 = . The function can be written analytically
(for the purposes of integration) as f(t) = 2At 1 2 t 1 2 2A(1 t) 1 2 t 3 2 This gives is only one
period of the function, but that is sufficient for our purposes. The Fourier series coefficients can
be written as an = 2 T0 Z 3/2 1/2 f(t) cos ntdt = Z 1/2 1/2 2At cos ntdt + Z 3/2 1/2 2A(1 t) cos
ntdt = 0 (We will take this at face value for now. Soon we will learn some tricks that will help
evaluate this sort of thing sometimes. But notice the utility of being able to use a symbolic
integration package. You may want to go back and review ECE 3640: Lecture 4 – Fourier series:
expansions of periodic functions. 6 what we did early last quarter with Matlab: the symbolic
integration exercises were written with this sort of integration mind!) bn = 2 T0 Z 3/2 1/2 f(t)sin
ntdt = Z 1/2 1/2 2Atsin ntdt + Z 3/2 1/2 2A(1 t)sin ntdt = 8A n2 2 sin(n/2) Actually, I checked
this using my current favorite symbolic tool, Mathematica. This is the result: In[6] := bn =
Integrate[2 A t Sin[n Pi t],{t,-1/2,1/2}] + Integrate[2 A (1-t) Sin[n Pi t],{t,1/2,3/2}] n Pi n Pi A (n
Pi Cos[----] - 2 Sin[----]) 2 2 Out[6]= -(--------------------------------) + 2 2 n Pi n Pi n Pi A (n Pi
Cos[----] + 2 Sin[----]) 2 2 > -------------------------------- + 2 2 n Pi n Pi -(A n Pi Cos[----]) 2 n Pi
2 (------------------- + A Sin[----]) 2 2 > ------------------------------------- + 2 2 n Pi 3 n Pi 3 n Pi A
(n Pi Cos[------] - 2 Sin[------]) 2 2 > ------------------------------------ 2 2 n Pi In[7]:= Simplify[bn]
n Pi n Pi n Pi 2 -4 A (n Pi Cos[----] - 2 Sin[----]) Sin[----] 2 2 2 Out[7]= ------------------------------
---------------- 2 2 ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 7 n Pi
In problems of this sort, it is considered bad form to leave it in terms of all the sins and cosines
(go thy way and sin no more!), since they can occlude the underlying values of the coefficients.
So we will work through the detail to get the answer shown in the book. In doing this, however,
do not lose sight of the forest for the trees. We already have the coefficients; we are simply
manipulating them a bit. In practice, these types of manipulations could be skipped or be done by
a computer (say, if we were plotting the magnitude spectrum). In the simplification, note that the
term sin2 (n/2) is zero when n is even. So we only need to consider odd n. For odd n, sin2 (n/2) =
1, so we can focus on the other part. First, consider odd n of the form n = 4k + 1. Then cos(n/2) =
cos((4k + 1)/2) = cos(/2) = 0 and sin(n/2) = sin((4k + 1)/2) = sin(/2) = 1 sin(3n/2) = sin(3(4k +
1)/2) = sin(3/2) = 1 When n = 4k + 3, cos(n/2) = cos((4k + 3)/2) = cos(3/2) = 0 sin(n/2) = sin((4k
+ 3)/2) = sin(3/2) = 1 sin(3n/2) = sin(3(4k + 3)/2) = sin(9/2) = 1 Combining all this together
gives the desired answer. Using the symbolic toolbox in Matlab, I obtained syms A n t
int(’2*A*t*sin(n*pi*t)’,t,-1/2,1/2) ans = -2*A*(-2*sin(1/2*n*pi)+n*pi*cos(1/2*n*pi))/n^2/pi^2
The Fourier series is f(t) = X n bn sin(nt) = 8A 2 X n=1,3,5,... (1)(n1)/2 n2 sin(nt) = 8A 2 X
n=1,3,5,... sin(n/2) n2 sin(nt) = 8A 2 sin(t) 1 9 sin(3t) + 1 25 sin(5t) 1 49 sin(7t) + · · · To plot
the Fourier spectrum the compact trigonometric Fourier series is needed. Recall that this
expresses the function in terms of cosines. We only have it in terms of sines. We we have to do a
little phase-shift trick: sin(kt) = cos(kt 90 ) sin(kt) = cos(kt + 90 )

Recomendados

Fourier Specturm via MATLAB por
Fourier Specturm via MATLABFourier Specturm via MATLAB
Fourier Specturm via MATLABZunAib Ali
1.4K visualizações15 slides
03 Cap 2 - fourier-analysis-2015.pdf por
03 Cap 2 - fourier-analysis-2015.pdf03 Cap 2 - fourier-analysis-2015.pdf
03 Cap 2 - fourier-analysis-2015.pdfROCIOMAMANIALATA1
100 visualizações39 slides
07 periodic functions and fourier series por
07 periodic functions and fourier series07 periodic functions and fourier series
07 periodic functions and fourier seriesKrishna Gali
1.3K visualizações81 slides
Nt lecture skm-iiit-bh por
Nt lecture skm-iiit-bhNt lecture skm-iiit-bh
Nt lecture skm-iiit-bhIIIT Bhubaneswar
197 visualizações45 slides
3. convolution fourier por
3. convolution fourier3. convolution fourier
3. convolution fourierskysunilyadav
1K visualizações31 slides
Signal Processing Homework Help por
Signal Processing Homework HelpSignal Processing Homework Help
Signal Processing Homework HelpMatlab Assignment Experts
64 visualizações11 slides

Mais conteúdo relacionado

Similar a Find the compact trigonometric Fourier series for the periodic signal.pdf

pradeepbishtLecture13 div conq por
pradeepbishtLecture13 div conqpradeepbishtLecture13 div conq
pradeepbishtLecture13 div conqPradeep Bisht
161 visualizações7 slides
torsionbinormalnotes por
torsionbinormalnotestorsionbinormalnotes
torsionbinormalnotesJeremy Lane
915 visualizações11 slides
Fourier Series for Continuous Time & Discrete Time Signals por
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsJayanshu Gundaniya
15.3K visualizações27 slides
Signal Processing Introduction using Fourier Transforms por
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsArvind Devaraj
7.7K visualizações8 slides
02 Notes Divide and Conquer por
02 Notes Divide and Conquer02 Notes Divide and Conquer
02 Notes Divide and ConquerAndres Mendez-Vazquez
506 visualizações11 slides
Eece 301 note set 14 fourier transform por
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformSandilya Sridhara
1.6K visualizações27 slides

Similar a Find the compact trigonometric Fourier series for the periodic signal.pdf(20)

pradeepbishtLecture13 div conq por Pradeep Bisht
pradeepbishtLecture13 div conqpradeepbishtLecture13 div conq
pradeepbishtLecture13 div conq
Pradeep Bisht161 visualizações
torsionbinormalnotes por Jeremy Lane
torsionbinormalnotestorsionbinormalnotes
torsionbinormalnotes
Jeremy Lane915 visualizações
Fourier Series for Continuous Time & Discrete Time Signals por Jayanshu Gundaniya
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time Signals
Jayanshu Gundaniya15.3K visualizações
Signal Processing Introduction using Fourier Transforms por Arvind Devaraj
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
Arvind Devaraj7.7K visualizações
Eece 301 note set 14 fourier transform por Sandilya Sridhara
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transform
Sandilya Sridhara1.6K visualizações
3.pdf por AlaaOdeh18
3.pdf3.pdf
3.pdf
AlaaOdeh1811 visualizações
DSP_Fourier_160301.pptx por HamedNassar5
DSP_Fourier_160301.pptxDSP_Fourier_160301.pptx
DSP_Fourier_160301.pptx
HamedNassar58 visualizações
Note and assignment mis3 5.3 por RoshanTushar1
Note and assignment mis3 5.3Note and assignment mis3 5.3
Note and assignment mis3 5.3
RoshanTushar127 visualizações
3. recurrence relation por Rajandeep Gill
3. recurrence relation3. recurrence relation
3. recurrence relation
Rajandeep Gill6.4K visualizações
Conjugate Gradient Methods por MTiti1
Conjugate Gradient MethodsConjugate Gradient Methods
Conjugate Gradient Methods
MTiti110 visualizações
Matlab 2 por asguna
Matlab 2Matlab 2
Matlab 2
asguna1.5K visualizações
SURF 2012 Final Report(1) por Eric Zhang
SURF 2012 Final Report(1)SURF 2012 Final Report(1)
SURF 2012 Final Report(1)
Eric Zhang137 visualizações
Fourier 3 por nugon
Fourier 3Fourier 3
Fourier 3
nugon486 visualizações
Low rank tensor approximation of probability density and characteristic funct... por Alexander Litvinenko
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...
Alexander Litvinenko44 visualizações
Signal and Systems part i por PatrickMumba7
Signal and Systems part iSignal and Systems part i
Signal and Systems part i
PatrickMumba79 visualizações
Lecture 9 por Wael Sharba
Lecture 9Lecture 9
Lecture 9
Wael Sharba623 visualizações
Stirling theorem por Arshad Ibrahimi
Stirling theoremStirling theorem
Stirling theorem
Arshad Ibrahimi1.3K visualizações

Mais de arihantelectronics

As the base a of an exponential function f(x)=a^x, where a 1, incre.pdf por
As the base a of an exponential function f(x)=a^x, where a 1, incre.pdfAs the base a of an exponential function f(x)=a^x, where a 1, incre.pdf
As the base a of an exponential function f(x)=a^x, where a 1, incre.pdfarihantelectronics
2 visualizações1 slide
anineiment progect has an internal rate of return equa( Ahe equired r.pdf por
anineiment progect has an internal rate of return equa( Ahe equired r.pdfanineiment progect has an internal rate of return equa( Ahe equired r.pdf
anineiment progect has an internal rate of return equa( Ahe equired r.pdfarihantelectronics
2 visualizações1 slide
A researcher has been hired by a pizzeria to determine which type of.pdf por
A researcher has been hired by a pizzeria to determine which type of.pdfA researcher has been hired by a pizzeria to determine which type of.pdf
A researcher has been hired by a pizzeria to determine which type of.pdfarihantelectronics
2 visualizações1 slide
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdf por
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdfCharacterize cardiomyocytesSolutioncardiomyosites are striate.pdf
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdfarihantelectronics
2 visualizações1 slide
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdf por
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdfA 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdf
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdfarihantelectronics
2 visualizações1 slide
Solve the system of congruences Using Chinese Remainder Theroram.E.pdf por
Solve the system of congruences Using Chinese Remainder Theroram.E.pdfSolve the system of congruences Using Chinese Remainder Theroram.E.pdf
Solve the system of congruences Using Chinese Remainder Theroram.E.pdfarihantelectronics
3 visualizações1 slide

Mais de arihantelectronics(20)

As the base a of an exponential function f(x)=a^x, where a 1, incre.pdf por arihantelectronics
As the base a of an exponential function f(x)=a^x, where a 1, incre.pdfAs the base a of an exponential function f(x)=a^x, where a 1, incre.pdf
As the base a of an exponential function f(x)=a^x, where a 1, incre.pdf
arihantelectronics2 visualizações
anineiment progect has an internal rate of return equa( Ahe equired r.pdf por arihantelectronics
anineiment progect has an internal rate of return equa( Ahe equired r.pdfanineiment progect has an internal rate of return equa( Ahe equired r.pdf
anineiment progect has an internal rate of return equa( Ahe equired r.pdf
arihantelectronics2 visualizações
A researcher has been hired by a pizzeria to determine which type of.pdf por arihantelectronics
A researcher has been hired by a pizzeria to determine which type of.pdfA researcher has been hired by a pizzeria to determine which type of.pdf
A researcher has been hired by a pizzeria to determine which type of.pdf
arihantelectronics2 visualizações
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdf por arihantelectronics
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdfCharacterize cardiomyocytesSolutioncardiomyosites are striate.pdf
Characterize cardiomyocytesSolutioncardiomyosites are striate.pdf
arihantelectronics2 visualizações
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdf por arihantelectronics
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdfA 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdf
A 8.0 mu C (magnitude) charge is travelling with a speed of 4.0 -10^5.pdf
arihantelectronics2 visualizações
Solve the system of congruences Using Chinese Remainder Theroram.E.pdf por arihantelectronics
Solve the system of congruences Using Chinese Remainder Theroram.E.pdfSolve the system of congruences Using Chinese Remainder Theroram.E.pdf
Solve the system of congruences Using Chinese Remainder Theroram.E.pdf
arihantelectronics3 visualizações
The source code for TestVendingMachine.java is showing an error when.pdf por arihantelectronics
The source code for TestVendingMachine.java is showing an error when.pdfThe source code for TestVendingMachine.java is showing an error when.pdf
The source code for TestVendingMachine.java is showing an error when.pdf
arihantelectronics2 visualizações
Using matlab, find the frequencies and amplitudes of the fundamental.pdf por arihantelectronics
Using matlab, find the frequencies and amplitudes of the fundamental.pdfUsing matlab, find the frequencies and amplitudes of the fundamental.pdf
Using matlab, find the frequencies and amplitudes of the fundamental.pdf
arihantelectronics3 visualizações
Below are four allelic DNA sequences from a species of domestic ungu.pdf por arihantelectronics
Below are four allelic DNA sequences from a species of domestic ungu.pdfBelow are four allelic DNA sequences from a species of domestic ungu.pdf
Below are four allelic DNA sequences from a species of domestic ungu.pdf
arihantelectronics2 visualizações
Write a Java program that takes input 3 floating-point numbers and s.pdf por arihantelectronics
Write a Java program that takes input 3 floating-point numbers and s.pdfWrite a Java program that takes input 3 floating-point numbers and s.pdf
Write a Java program that takes input 3 floating-point numbers and s.pdf
arihantelectronics7 visualizações
Write a while loop that prints 1 to userNum, using the variable i. F.pdf por arihantelectronics
Write a while loop that prints 1 to userNum, using the variable i. F.pdfWrite a while loop that prints 1 to userNum, using the variable i. F.pdf
Write a while loop that prints 1 to userNum, using the variable i. F.pdf
arihantelectronics3 visualizações
Why is the superposition theorem useful in the analysis of multiple-s.pdf por arihantelectronics
Why is the superposition theorem useful in the analysis of multiple-s.pdfWhy is the superposition theorem useful in the analysis of multiple-s.pdf
Why is the superposition theorem useful in the analysis of multiple-s.pdf
arihantelectronics2 visualizações
What are transferred in costs When do they occurSolution T.pdf por arihantelectronics
What are transferred in costs When do they occurSolution    T.pdfWhat are transferred in costs When do they occurSolution    T.pdf
What are transferred in costs When do they occurSolution T.pdf
arihantelectronics2 visualizações
Why do solutions to linear-programming problems focus on corner poin.pdf por arihantelectronics
Why do solutions to linear-programming problems focus on corner poin.pdfWhy do solutions to linear-programming problems focus on corner poin.pdf
Why do solutions to linear-programming problems focus on corner poin.pdf
arihantelectronics2 visualizações
Using Fig. 4.5, estimate the following quantities for a 80 Cu-20 Ni.pdf por arihantelectronics
Using Fig. 4.5, estimate the following quantities for a 80 Cu-20 Ni.pdfUsing Fig. 4.5, estimate the following quantities for a 80 Cu-20 Ni.pdf
Using Fig. 4.5, estimate the following quantities for a 80 Cu-20 Ni.pdf
arihantelectronics2 visualizações
The flywheel with a diameter of 10 cm is rotating at a rate of 10 rad.pdf por arihantelectronics
The flywheel with a diameter of 10 cm is rotating at a rate of 10 rad.pdfThe flywheel with a diameter of 10 cm is rotating at a rate of 10 rad.pdf
The flywheel with a diameter of 10 cm is rotating at a rate of 10 rad.pdf
arihantelectronics2 visualizações
3. If we had a tabulation of the errors, then if we then squared and.pdf por arihantelectronics
3. If we had a tabulation of the errors, then if we then squared and.pdf3. If we had a tabulation of the errors, then if we then squared and.pdf
3. If we had a tabulation of the errors, then if we then squared and.pdf
arihantelectronics2 visualizações
Two random cards from an ordinary deck of playing cards are withdraw.pdf por arihantelectronics
Two random cards from an ordinary deck of playing cards are withdraw.pdfTwo random cards from an ordinary deck of playing cards are withdraw.pdf
Two random cards from an ordinary deck of playing cards are withdraw.pdf
arihantelectronics4 visualizações
Suppose you are deciding whether to take Professor Smith’s class or .pdf por arihantelectronics
Suppose you are deciding whether to take Professor Smith’s class or .pdfSuppose you are deciding whether to take Professor Smith’s class or .pdf
Suppose you are deciding whether to take Professor Smith’s class or .pdf
arihantelectronics2 visualizações
SHuttle Launch JAva Program Class ShuttleLaunch {1000 milliseconds.pdf por arihantelectronics
SHuttle Launch JAva Program Class ShuttleLaunch {1000 milliseconds.pdfSHuttle Launch JAva Program Class ShuttleLaunch {1000 milliseconds.pdf
SHuttle Launch JAva Program Class ShuttleLaunch {1000 milliseconds.pdf
arihantelectronics2 visualizações

Último

Sociology KS5 por
Sociology KS5Sociology KS5
Sociology KS5WestHatch
70 visualizações23 slides
Psychology KS5 por
Psychology KS5Psychology KS5
Psychology KS5WestHatch
93 visualizações5 slides
Class 10 English notes 23-24.pptx por
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptxTARIQ KHAN
131 visualizações53 slides
The Open Access Community Framework (OACF) 2023 (1).pptx por
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptxJisc
110 visualizações7 slides
The Accursed House by Émile Gaboriau por
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile GaboriauDivyaSheta
201 visualizações15 slides
UWP OA Week Presentation (1).pptx por
UWP OA Week Presentation (1).pptxUWP OA Week Presentation (1).pptx
UWP OA Week Presentation (1).pptxJisc
88 visualizações11 slides

Último(20)

Sociology KS5 por WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch70 visualizações
Psychology KS5 por WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch93 visualizações
Class 10 English notes 23-24.pptx por TARIQ KHAN
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptx
TARIQ KHAN131 visualizações
The Open Access Community Framework (OACF) 2023 (1).pptx por Jisc
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptx
Jisc110 visualizações
The Accursed House by Émile Gaboriau por DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta201 visualizações
UWP OA Week Presentation (1).pptx por Jisc
UWP OA Week Presentation (1).pptxUWP OA Week Presentation (1).pptx
UWP OA Week Presentation (1).pptx
Jisc88 visualizações
Dance KS5 Breakdown por WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch79 visualizações
11.30.23 Poverty and Inequality in America.pptx por mary850239
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptx
mary850239160 visualizações
Create a Structure in VBNet.pptx por Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P75 visualizações
Drama KS5 Breakdown por WestHatch
Drama KS5 BreakdownDrama KS5 Breakdown
Drama KS5 Breakdown
WestHatch79 visualizações
REPRESENTATION - GAUNTLET.pptx por iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood100 visualizações
AUDIENCE - BANDURA.pptx por iammrhaywood
AUDIENCE - BANDURA.pptxAUDIENCE - BANDURA.pptx
AUDIENCE - BANDURA.pptx
iammrhaywood84 visualizações
Use of Probiotics in Aquaculture.pptx por AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL100 visualizações
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1} por DR .PALLAVI PATHANIA
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}
ANATOMY AND PHYSIOLOGY UNIT 1 { PART-1}
DR .PALLAVI PATHANIA249 visualizações
When Sex Gets Complicated: Porn, Affairs, & Cybersex por Marlene Maheu
When Sex Gets Complicated: Porn, Affairs, & CybersexWhen Sex Gets Complicated: Porn, Affairs, & Cybersex
When Sex Gets Complicated: Porn, Affairs, & Cybersex
Marlene Maheu67 visualizações
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively por PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 585 visualizações
MercerJesse2.1Doc.pdf por jessemercerail
MercerJesse2.1Doc.pdfMercerJesse2.1Doc.pdf
MercerJesse2.1Doc.pdf
jessemercerail169 visualizações
Women from Hackney’s History: Stoke Newington by Sue Doe por History of Stoke Newington
Women from Hackney’s History: Stoke Newington by Sue DoeWomen from Hackney’s History: Stoke Newington by Sue Doe
Women from Hackney’s History: Stoke Newington by Sue Doe
History of Stoke Newington150 visualizações
Narration lesson plan.docx por TARIQ KHAN
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docx
TARIQ KHAN112 visualizações
Java Simplified: Understanding Programming Basics por Akshaj Vadakkath Joshy
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming Basics
Akshaj Vadakkath Joshy295 visualizações

Find the compact trigonometric Fourier series for the periodic signal.pdf

  • 1. Find the compact trigonometric Fourier series for the periodic signal x(t) and sketch the amplitude and phase spectrum for first 4 frequency components. By inspection of the spectra, sketch the exponential Fourier spectra. By inspection of spectra in part b), write the exponential Fourier series for x(t) Solution ECE 3640 Lecture 4 – Fourier series: expansions of periodic functions. Objective: To build upon the ideas from the previous lecture to learn about Fourier series, which are series representations of periodic functions. Periodic signals and representations From the last lecture we learned how functions can be represented as a series of other functions: f(t) = Xn k=1 ckik(t). We discussed how certain classes of things can be built using certain kinds of basis functions. In this lecture we will consider specifically functions that are periodic, and basic functions which are trigonometric. Then the series is said to be a Fourier series. A signal f(t) is said to be periodic with period T0 if f(t) = f(t + T0) for all t. Diagram on board. Note that this must be an everlasting signal. Also note that, if we know one period of the signal we can find the rest of it by periodic extension. The integral over a single period of the function is denoted by Z T0 f(t)dt. When integrating over one period of a periodic function, it does not matter when we start. Usually it is convenient to start at the beginning of a period. The building block functions that can be used to build up periodic functions are themselves periodic: we will use the set of sinusoids. If the period of f(t) is T0, let 0 = 2/T0. The frequency 0 is said to be the fundamental frequency; the fundamental frequency is related to the period of the function. Furthermore, let F0 = 1/T0. We will represent the function f(t) using the set of sinusoids i0(t) = cos(0t) = 1 i1(t) = cos(0t + 1) i2(t) = cos(20t + 2) . . . Then, f(t) = C0 + X n=1 Cn cos(n0t + n) The frequency n0 is said to be the nth harmonic of 0. Note that for each basis function associated with f(t) there are actually two parameters: the amplitude Cn and the phase n. It will often turn out to be more useful to represent the function using both sines and cosines. Note that we can write Cn cos(n0t + n) = Cn cos(n) cos(n0t) Cn sin(n)sin(n0t). ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 2 Now let an = Cn cos n bn = Cn sin n Then Cn cos(n0t + n) = an cos(n0t) + bn sin(n0t) Then the series representation can be f(t) = C0 + X n=1 Cn cos(n0t + n) = a0 + X n=1 an cos(n0t) + bn sin(n0t) The first of these is the compact trigonometric Fourier series. The second is the trigonometric Fourier series.. To go from one to the other use C0 = a0 Cn = p a 2 n + b 2 n n = tan1 (bn/an). To complete the representation we must be able to compute the coefficients. But this is the same sort of thing we did before. If we can show that the set of functions {cos(n0t),sin(n0t)} is in fact an orthogonal set, then we can use the same formulas we did before. Check: Z T0 cos(n0t) cos(m0t) dt = 0 n 6= m T0 2 n = m 6= 0 So pairs of cosine functions are
  • 2. orthogonal. Similarly, Z T0 sin(n0t)sin(m0t) dt = 0 n 6= m T0 2 n = m 6= 0 So pairs of sin functions are orthogonal. Also, Z T0 sin(n0t) cos(m0t) dt = 0 for all n and m. So the sines and cosines are orthogonal to each other. This means that we can use our formulas: an = hf(t), cos(n0t)i h cos(n0t), cos(n0t)i = 2 T0 Z T0 f(t) cos(n0t) dt bn = hf(t),sin(n0t)i hsin(n0t),sin(n0t)i = 2 T0 Z T0 f(t)sin(n0t) dt The only exception is the coefficient a0: a0 = hf(t), 1i h1, 1i = 1 T0 Z T0 f(t) dt Example 1 Let us start with a square wave: ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 3 f(t) = 1 /2 < t < /2 0 t [, /2),(, 2, ] and its periodic extension. The period is T0 = 2, so 0 = 2/T0 = 1. The series is f(t) = a0 + X n=1 an cos nt + bn sin nt The coefficients can be found as follows: a0 = 1 2 Z /2 /2 dt = 1 2 an = 1 Z /2 /2 cos nt dt = 2 n sin(n/2) = 0 n even 2 n n = 1, 5, 9, 13, . . . 2 n n = 3, 7, 11, 15, . . . bn = 1 Z /2 /2 sin nt dt = 0. We can write f(t) = 1 2 + 2 cost 1 3 cos 3t + 1 5 cos 5t 1 7 cos 7t + · · · . Here is an interesting tidbit: Evaluate this at t = 0: 1 = 1 2 + 2 1 1 3 + 1 5 1 7 + · · · . Solving, we get = 4 1 1 3 + 1 5 1 7 + · · · . In the compact form, C0 = 1 2 Cn = 0 n even 2 n n odd n = n = 3, 7, 11, 15, . . ., 0 otherwise It is interesting to see how the function gets built up at the pieces are added ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 4 together: The Fourier Spectrum For a function f(t) having a compact trigonometric Fourier series, the set of amplitudes {Cn} and the set of phases {n} provide all the information necessary to represent the function. (This is interesting, if you think about it: a function which is defined at every point in a continuum can be represented with only a countable number of points.) A plot of the amplitudes {Cn} vs. the is the amplitude spectrum of the signal. A plot of the phase {n} vs. is the phase spectrum of the signal. Example 2 Show the magnitude and phase spectrum of the square wave from the previous example. Actually, if we allow the amplitude to show a shift of by allowing a signed ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 5 quantity, then the task is somewhat easier: In this case the spectrum is said to be an amplitude spectrum, rather than a magnitude spectrum. The amplitude spectrum is convenient to work with whenever all the sine terms are zero, so all the information is conveyed in the {an}. Example 3 Find the Fourier series of the following signal, and plot its magnitude and phase spectrum. The signal is periodic with T0 = 2. The fundamental frequency is 0 = 2 2 = . The function can be written analytically (for the purposes of integration) as f(t) = 2At 1 2 t 1 2 2A(1 t) 1 2 t 3 2 This gives is only one period of the function, but that is sufficient for our purposes. The Fourier series coefficients can be written as an = 2 T0 Z 3/2 1/2 f(t) cos ntdt = Z 1/2 1/2 2At cos ntdt + Z 3/2 1/2 2A(1 t) cos ntdt = 0 (We will take this at face value for now. Soon we will learn some tricks that will help evaluate this sort of thing sometimes. But notice the utility of being able to use a symbolic integration package. You may want to go back and review ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 6 what we did early last quarter with Matlab: the symbolic integration exercises were written with this sort of integration mind!) bn = 2 T0 Z 3/2 1/2 f(t)sin
  • 3. ntdt = Z 1/2 1/2 2Atsin ntdt + Z 3/2 1/2 2A(1 t)sin ntdt = 8A n2 2 sin(n/2) Actually, I checked this using my current favorite symbolic tool, Mathematica. This is the result: In[6] := bn = Integrate[2 A t Sin[n Pi t],{t,-1/2,1/2}] + Integrate[2 A (1-t) Sin[n Pi t],{t,1/2,3/2}] n Pi n Pi A (n Pi Cos[----] - 2 Sin[----]) 2 2 Out[6]= -(--------------------------------) + 2 2 n Pi n Pi n Pi A (n Pi Cos[----] + 2 Sin[----]) 2 2 > -------------------------------- + 2 2 n Pi n Pi -(A n Pi Cos[----]) 2 n Pi 2 (------------------- + A Sin[----]) 2 2 > ------------------------------------- + 2 2 n Pi 3 n Pi 3 n Pi A (n Pi Cos[------] - 2 Sin[------]) 2 2 > ------------------------------------ 2 2 n Pi In[7]:= Simplify[bn] n Pi n Pi n Pi 2 -4 A (n Pi Cos[----] - 2 Sin[----]) Sin[----] 2 2 2 Out[7]= ------------------------------ ---------------- 2 2 ECE 3640: Lecture 4 – Fourier series: expansions of periodic functions. 7 n Pi In problems of this sort, it is considered bad form to leave it in terms of all the sins and cosines (go thy way and sin no more!), since they can occlude the underlying values of the coefficients. So we will work through the detail to get the answer shown in the book. In doing this, however, do not lose sight of the forest for the trees. We already have the coefficients; we are simply manipulating them a bit. In practice, these types of manipulations could be skipped or be done by a computer (say, if we were plotting the magnitude spectrum). In the simplification, note that the term sin2 (n/2) is zero when n is even. So we only need to consider odd n. For odd n, sin2 (n/2) = 1, so we can focus on the other part. First, consider odd n of the form n = 4k + 1. Then cos(n/2) = cos((4k + 1)/2) = cos(/2) = 0 and sin(n/2) = sin((4k + 1)/2) = sin(/2) = 1 sin(3n/2) = sin(3(4k + 1)/2) = sin(3/2) = 1 When n = 4k + 3, cos(n/2) = cos((4k + 3)/2) = cos(3/2) = 0 sin(n/2) = sin((4k + 3)/2) = sin(3/2) = 1 sin(3n/2) = sin(3(4k + 3)/2) = sin(9/2) = 1 Combining all this together gives the desired answer. Using the symbolic toolbox in Matlab, I obtained syms A n t int(’2*A*t*sin(n*pi*t)’,t,-1/2,1/2) ans = -2*A*(-2*sin(1/2*n*pi)+n*pi*cos(1/2*n*pi))/n^2/pi^2 The Fourier series is f(t) = X n bn sin(nt) = 8A 2 X n=1,3,5,... (1)(n1)/2 n2 sin(nt) = 8A 2 X n=1,3,5,... sin(n/2) n2 sin(nt) = 8A 2 sin(t) 1 9 sin(3t) + 1 25 sin(5t) 1 49 sin(7t) + · · · To plot the Fourier spectrum the compact trigonometric Fourier series is needed. Recall that this expresses the function in terms of cosines. We only have it in terms of sines. We we have to do a little phase-shift trick: sin(kt) = cos(kt 90 ) sin(kt) = cos(kt + 90 )