You are on page 1of 9

Lab Report No 06

Digital Signal Processing

Submitted By:
Mustabshira
[18-CE-007]
Seerat Fatima
[18-CE-006]

Submitted to:
Engr. Jawad Qammar

Dated:
03/18/2021
Department of Computer Engineering,
HITEC University, Taxila
Experiment No 06
Introduction and usage of Z-Transform in MATLAB

Lab Example No 01:

Solution:
Brief description (3-5 lines)
Defining vectors in MATLAB for expressing the transfer function with numerator and
denominator polynomials.

The code and result


Lab Example No 02:

Solution:
Brief description (3-5 lines)
Let we have a discrete time function.sys is used to declare any variable.to take z-
transform we use ztrans with the given function f.

The code and result

Lab Example No 03:

Solution:
Brief description (3-5 lines)
You can determine the pole, zero and gain from transfer functionThe gain cannot be
evaluated from the Object form of the transfer function model directly.Instead, you can
first convert the object form into vector form by using MATLAB tfdata command.

The code and result


Lab Example No 04:

Solution:
Brief description (3-5 lines)
f = iztrans(F)
computes the inverse z-transform of the symbolic expression F. This syntax assumes that
F is a function of the variable z, and the returned value f is a function of n.

The code and result


Lab Example No 05:

Solution:
Brief description (3-5 lines)
you have to declare vectors either (num, den) or (z, p, k), which are discussed above. The
object form can be obtained by using the commands tf or zpk.

The code and result

Lab Example No 06:


Solution:
Brief description (3-5 lines)
Partial-fraction expansion is another one of the basic operation in the system function.
MATLAB residuez command provides two features:
• finds the residues, poles and direct term of a partial fraction expansion of the ratio of
two polynomials.
• converts the partial fraction expansion back to the polynomials with coefficients.
The code and result

Lab Example No 07:

Solution:
Brief description (3-5 lines)
You can connect LTI models in parallel with MATLAB parallel command or the + operator
for the object form.

The code and result


Lab Example No 08:

Solution:
Brief description (3-5 lines)
Use the command of series. You can connect LTI models in series with MATLAB series
command or the * operator for the object form.

The code and result

Lab Example No 09:

Solution:
Brief description (3-5 lines)
Use zero to find zeroes and pole to find poles in the expression.we use pzmap to point the
zeros and poles on the map.

The code and result


The end

You might also like