0% found this document useful (0 votes)
10 views

DSP Lab 7 Inverse Z Transform

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

DSP Lab 7 Inverse Z Transform

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Electrical & Computer Engineering Department Engr.

Nauman Tareen

LAB 07
Inverse Z-Transform in MATLAB
Previous Lab:
In previous lab z-transformation of discrete time signals calculated with the help of “ztrans” command in
MATLAB, plotted pole/zero plots of different z-transforms using “zplane” command. Moreover “roots” and
“tf2zp” commands were used to find the values of zeros and poles in transfer functions. Frequency response of
the transfer functions calculated with the help of “freqz” command.
Objective:
The basic objective of this Lab is to make students able to understand how to find the transfer function if pole zero
plot is given and how to find the inverse z-transform of x(z) in MATLAB which can be calculated manually using
partial fraction / inspection method.
i) How to plot pole zero (using the values of poles and zeros) (zplane command)
ii) How to find transfer function x(z) from pole zero plot (filt command)
iii) How to find the inverse z-transform of x(z) to get x[n] (residuez command)
Commands: (previous ones)
• stem • sqrt • function • convn • disp
• figure • if • mag2db • filter • input
• subplot • zeros • close all • rad2deg • hold on
• title • ones • clear all • ztrans • end
• axis • exp • min • syms • pretty
• xlabel • linspace • max • roots • simplify
• ylabel • sign • deg2rad • tf2zp
• grid • eps • find • abs
• for • clc • mod • freqz
Commands: (new ones)

• filt input  check the function of this command yourself (same as cin/scanf)
• residuez disp  check the function of this command yourself (same as cout/printf)
• zp2tf
• iztrans
Procedure:
1. Open M-file or M-Book.
2. Save it by any useful name but remember not to start the name by any numeric digit, do not use
any special character other than under-the score (_) and also remember not to give any space in
the name.
3. Create a column vector of zeros and poles to plot it using zplane command if transfer function is
not given.
Questions:
1) Plot the following pole zero plots and also find their transfer function.

Page | COMSATS University Islamabad, Abbottabad Campus


Electrical & Computer Engineering Department Engr. Nauman Tareen

2) Plot the following pole zero plot and also find its transfer function. (Exercise problem)

3) Plot the following pole zero plot and also find its transfer function. (Exercise problem)

4) Find the inverse z-transform of the following expression and from pole zero plot or from transfer
function determine, whether it is FIR or IIR system.
1
1 − 2 𝑧 −1 1
𝑋(𝑧) = |𝑧| >
3 1 2
(1 + 4 𝑧 −1 + 8 𝑧 −2 )

5) Find the inverse z-transform of the following expression and from pole zero plot or from transfer
function determine, whether it is FIR or IIR system.
1 1
1 − 2 𝑧 −1 − 3 𝑧 −2 1
𝑋(𝑧) = |𝑧| >
1 4
(1 − 4 𝑧 −2 )

6) A causal LTI system has the system function 𝐻(𝑧).

Page | COMSATS University Islamabad, Abbottabad Campus


Electrical & Computer Engineering Department Engr. Nauman Tareen
1 + 2𝑧 −1 + 𝑧 −2
𝐻(𝑧) = |𝑧| > 1
1 1
(1 − 2 𝑧 −1 ) (1 − 4 𝑧 −2 ) (1 − 𝑧 −1 )
a. Plot its pole zero plot.
b. Find the impulse response h[n].
c. From the pole/zero plot or from transfer function determines whether it FIR or IIR system.
7) A LTI system has the system function 𝐻(𝑧).

1
𝐻(𝑧) = 𝑧 −1 + 3𝑧 −2 + 𝑧 − 3𝑧 2 − 4𝑧 3
2
a. Plot its pole zero plot.
b. Find the impulse response h[n].
c. From the pole/zero plot or from transfer function determine whether it is FIR or IIR system?
Special Instructions:

 Late lab assignments will not be considered.


 Bring the hard copy of this lab in next lab.
 Copied assignment will be given zero marks.
 Do proper formatting of lab assignments.
 Use appropriate size of plots, with proper labeling.
 Submit the lab assignments in groups.
 Upload PDF and m-file code of this lab on cuonline portal.

Page | COMSATS University Islamabad, Abbottabad Campus

You might also like