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

Z-Transform MATLAB - Linear Dynamic Systems and Signals - Lab Handout, Exercises of Electronic Circuits Analysis

Main points are: Z-Transform Matlab, Linear Discrete-Time System, Set of Problems, Use of Matlab, Denominator Coefficients, Matlab Function Dimpulse, Zero-Input Response, Transfer Function, Partial Fraction Expansion

Typology: Exercises

2012/2013

Uploaded on 04/16/2013

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

5

(2)

143 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
5.6
๎˜€
-transform MATLAB Laboratory Experiment
Purpose: This experiment presents the frequency domain analysis of discrete-time
systems using MATLAB. The impulse, step, sinusoidal, and exponential responses of
discrete-time systems will be examined using the system transfer function method based
on the
๎˜
-transform. In addition, MATLAB will be used to perform the partial fraction
expansion and to find the inverse
๎˜
-transform. Note that MATLAB uses only the integral
representation of linear discrete-time systems.
Part 1. Consider the linear discrete-time system represented by the system transfer
function
๎˜‚๎˜„๎˜ƒ๎˜†๎˜…๎˜ˆ๎˜‡๎˜Š๎˜‰
๎˜…๎˜Œ๎˜‹๎˜Ž๎˜
๎˜๎˜‘๎˜
๎˜…๎˜“๎˜’๎˜”๎˜…๎˜Œ๎˜•๎˜—๎˜–
๎˜˜๎˜ˆ๎˜™
๎˜’๎˜š๎˜…๎˜Œ๎˜‹๎˜—๎˜–
๎˜›๎˜œ๎˜™
๎˜’๎˜”๎˜…๎˜๎˜•๎˜ž๎˜–
๎˜Ÿ ๎˜™
Using MATLAB, find and plot:
(a) The impulse response of the system.
(b) The step response of the system.
(c) The zero-state response due to the input signal
!๎˜Š" #๎˜ˆ$
๎˜‰&%('*)
" +๎˜œ#๎˜ˆ$-,." #๎˜ˆ$
.
(d) The zero-state response due to the input signal
!."๎˜‘#๎˜ˆ$
๎˜‰/๎˜ƒ0๎˜‹
+
๎˜‡(1
,."๎˜‘#๎˜ˆ$
.
Part 2. Consider the systen transfer function
๎˜‚2๎˜ƒ๎˜”๎˜…๎˜ˆ๎˜‡3๎˜‰
๎˜…
๎˜Ÿ
๎˜‹๎˜„4๎˜ˆ๎˜…
๎˜›
๎˜•
๎˜
๎˜…
๎˜˜
๎˜•
+
๎˜…
+
๎˜…๎˜œ56๎˜•
๎˜
๎˜…๎˜ˆ78๎˜‹๎˜„4๎˜ˆ๎˜…
๎˜Ÿ
๎˜•9๎˜…
๎˜›
๎˜‹
+
๎˜…
๎˜˜
๎˜•:4๎˜œ๎˜…๎˜Œ๎˜‹<;
(a) Find the factored form of the transfer function using the MATLAB function
[z,p,k]=tf2zp(num,den).
(b) The partial fraction expansion of rational functions can be performed using
the MATLAB function residue. Find the inverse
๎˜
-transform of the given transfer
function using residue, that is, find analytically the system impulse response. Plot the
system impulse response.
(c) Repeat appropriately the steps outlined in (b) such that the system step response
is obtained.
Part 3. Find and plot the zero-input response of the system whose transfer function
is given in Part 2, and whose initial conditions are given by
=
"
๎˜‹?>
$
๎˜‰@;๎˜ˆA
=
" BC$
๎˜‰&๎˜DA
B
๎˜‰E๎˜‹GFDAH๎˜‹JIKAL๎˜‹
๎˜
AH๎˜‹?4DAH๎˜‹
+
AH๎˜‹M;
(Hint: Find
NPO
Q
๎˜ƒ๎˜”๎˜…๎˜ˆ๎˜‡
and
R
๎˜ƒ๎˜”๎˜…๎˜œ๎˜‡
as defined in formulas (5.45) and (5.67) respectively.
Then, use the MATLAB function dimpulse with the coefficients of
NPO
Q
๎˜ƒ๎˜”๎˜…๎˜ˆ๎˜‡
and
R
๎˜ƒ๎˜”๎˜…๎˜ˆ๎˜‡
representing, respectively, the corresponding numerator and denominator coefficients.)
Submit four plots for Part 1, one plot for Part 2, and one plot for Part 3, and present
analytical results obtained in Parts 2โ€“3.
Comment: Instructors can design additional MATLAB laboratory experiments or
additional parts of laboratory experiments by selecting from the problem section (Section
Docsity.com
pf2

Partial preview of the text

Download Z-Transform MATLAB - Linear Dynamic Systems and Signals - Lab Handout and more Exercises Electronic Circuits Analysis in PDF only on Docsity!

5.

-transform MATLAB Laboratory Experiment

Purpose: This experiment presents the frequency domain analysis of discrete-time systems using MATLAB. The impulse, step, sinusoidal, and exponential responses of discrete-time systems will be examined using the system transfer function method based on the  -transform. In addition, MATLAB will be used to perform the partial fraction expansion and to find the inverse  -transform. Note that MATLAB uses only the integral representation of linear discrete-time systems.

Part 1. Consider the linear discrete-time system represented by the system transfer function 

Using MATLAB, find and plot: (a) The impulse response of the system. (b) The step response of the system. (c) The zero-state response due to the input signal! "#$

(d) The zero-state response due to the input signal !."#$

Part 2. Consider the systen transfer function 2

(a) Find the factored form of the transfer function using the MATLAB function [z,p,k]=tf2zp(num,den).

(b) The partial fraction expansion of rational functions can be performed using the MATLAB function residue. Find the inverse  -transform of the given transfer function using residue, that is, find analytically the system impulse response. Plot the system impulse response.

(c) Repeat appropriately the steps outlined in (b) such that the system step response is obtained.

Part 3. Find and plot the zero-input response of the system whose transfer function is given in Part 2, and whose initial conditions are given by

= "

@;A

B

C$

& DA

B

E GFDAH JIKAL

AH ?4DAH

AH M;

( Hint: Find NPOQ

and R

as defined in formulas (5.45) and (5.67) respectively. Then, use the MATLAB function dimpulse with the coefficients of NPOQ

and R

representing, respectively, the corresponding numerator and denominator coefficients.)

Submit four plots for Part 1, one plot for Part 2, and one plot for Part 3, and present analytical results obtained in Parts 2โ€“3.

Comment: Instructors can design additional MATLAB laboratory experiments or additional parts of laboratory experiments by selecting from the problem section (Section

Docsity.com

5.9) any set of problems that require the use of MATLAB or Simulink. (This comment is in general applicable to any chapter in this textbook.)

SUPPLEMENT:ST

UV(WX Y[Z\]D^._`W

]

K^a_cb
]K^edLW

]

D^fd3b<ghgCgLb
K_iW b \j0kPW

^

elm]D^a_n(oKprqtsiu b Z]D^fd W]K^ed b ]D^Dv W]D^wv bxghghgLb \

_

W

b
(^) jLk (^) W ^fl*]D^fd(n^ oDpmqzy{u b Z\ ]D^wv^ W ]K^|v^ b \

]D^D}

W

]D^w}^ bxghghgLb^ \

_

W

b
(^) j k PW

^

fl*]D^wv`n oDpmqz~{u b:ghgCg0b V \ _W b \jXW

^

a_LoDpย€q V (ย q 9s X uย‚b
j oDpย€q ย u

(5.45)

VWX3Yย„W ]tb^ \]K^a_`W ]D^._b^ \]D^fdLW ]K^ed^ b&gCghg0b^ \K_LW b \j (5.67)

Docsity.com