Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Fourier Analysis Laboratory Experiment: Approximating Periodic Signals using MATLAB, Exercises of Electronic Circuits Analysis

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

2012/2013

Uploaded on 04/16/2013

agam-sharma
agam-sharma ๐Ÿ‡ฎ๐Ÿ‡ณ

5

(2)

143 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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.
t0
. . . . . .
E
T-T TT/2 /4 /4 /2-T -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.19
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
/1032๎˜4656780:9<;(=๎˜‡>๎˜?A@
, calculate the Fourier series coefficients of the output signal
for
BC0:D๎˜4๎˜9๎˜‡4(E๎˜4(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
FG0H9๎˜‡4(E๎˜4(2
and
,JILK D๎˜4NM๎˜‡O๎˜˜P
. 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:
)*+$,๎˜ž.Q0
9
RTSU7WV
*
X
Y'Z\[
KS
Y^](_
@<+`B๎˜˜5 7,๎˜ž. Vba
Y
@dc๎˜•e8+`B๎˜˜5 7,๎˜ž.$P
(3.4)
The system in Example 3.19 is defined by
f"g!h
+$,๎˜ž.
f
,
g
V
R
fUh
+๎˜œ,๎˜ž.
f
,
VE
h
+$,๎˜ž.i0j)k+๎˜œ,๎˜ž.
Docsity.com

Partial preview of the text

Download Fourier Analysis Laboratory Experiment: Approximating Periodic Signals using MATLAB and more Exercises Electronic Circuits Analysis in PDF only on Docsity!

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:

) * +$,.Q

RTSU7WV

X

Y

'Z[

K

S

Y

^](_ (^) @<+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

R

f Uh

,. f ,

V

E

h

$,.i0j)k+,.

Docsity.com