
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A laboratory experiment using matlab to demonstrate approximations of periodic signals through truncated fourier series. Students will calculate fourier coefficients, observe the gibbs phenomenon, and plot amplitude and phase spectra. (400 characters)
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!
3.6 Fourier Analysis MATLAB Laboratory Experiment
Purpose: This experiment demonstrates approximations of periodic signals by truncated
Fourier series as defined in formula (3.4). Using MATLAB students will plot the actual
approximate signals and observe, for large values of
, the Gibbs phenomenon at the
jump discontinuity points. In addition, students will use MATLAB to plot the system
frequency spectra, and to find the system response due to periodic inputs.
Part 1. Find the trigonometric form of the Fourier series for the periodic signal
presented in Figure 3.18. Take and use MATLAB to calculate the
coefficients of the Fourier series for
. Plot the approximations as
defined in (3.4) for
! " $# &%' (. Observe the Gibbs phenomenon and for estimate the relative magnitude of ripples at the jump discontinuity points.
0 t
......
E
-T -T /2 -T /4 T /4 T /2 T
x(t)
FIGURE 3.18: A square wave signal
Part 2. Use MATLAB to plot the amplitude and phase line spectra of the periodic
signal from Part 1.
Part 3. Plot the magnitude and phase spectra of the system defined in Example 3.
by using the MATLAB function freqs(num,den), where the vectors num and den
contain the coefficients of the transfer function numerator and denominator in descending
order.
Part 4. For the system defined in Example 3.19, and )*+-,. determined in Part 1
with /10324656780:9<;(=>?A@ , calculate the Fourier series coefficients of the output signal
for BC0:D494(E4(2. Print the values for the magnitudes of the Fourier series coefficients
of the output signal. Plot the approximations )*+$,. and observe the convergence of
the output signal as F increases. Take FG0H94(E4(2 and ,JILK D4NMOP. Comment on the
frequency of the output signal and check its value from the plot obtained.
Submit all plots and comment on the results obtained.
SUPPLEMENT:
^](_ (^) @<+B5 7 ,. Vba Y @dce8+
B5 7 ,.$P (3.4)
The system in Example 3.19 is defined by
f"g!h
$,. f ,
g V
f Uh
,. f ,
h
$,.i0j)k+,.
Docsity.com