You are on page 1of 22

Lab Report No _06

Digital Signal Processing

Submitted By:
Mahnoor inam(18-CE-009)
Amina Khalid (18-CE-017)

Submitted to:
Engr. Jawad Qammar

Dated:
3th April 2021

Department of Computer Engineering,


HITEC University, Taxila
EG No 01

Solution:
Brief description
Defining vectors in MATLAB for expressing the transfer function with numerator and
denominator polynomials.
The code

The results (Screenshot)


eg No 02

Solution:
Brief description (3-5 lines)
expressing the transfer function with gain, roots of numerator and
denominator polynomials

The code

The results (Screenshot)


eg No 03

Solution:
Brief description (3-5 lines)
sys is used to declare any variable.to take z-transform we use ztrans with the given function
f.
The code
The results (Screenshot)

Lab Example No 04:

Solution:
Brief description (3-5 lines)

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
The results (Screenshot)

Lab Example No 05:

Solution:
Brief description (3-5 lines)

numerator and denominator from zero-pole-gain model that can be obtained as follow

The code
The results (Screenshot)

Lab Example No 06:

Solution:
Brief description (3-5 lines)

Transfer function converted into zeropole.


The code

The results (Screenshot)


Lab Example No 07:

Solution:
Brief description (3-5 lines)
zero plain gain transferred again to pole function using following command

The code

The results (Screenshot)


Lab Example No 08:

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

can connect LTI models in parallel with MATLAB parallel command or the + operator for
the object form.

The code

The results (Screenshot)


Lab Example No 09:

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

The results (Screenshot)


Lab Example No 10:

Solution:
Brief description (3-5 lines)

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

The results (Screenshot)


Lab Example No 11:

Solution:
Brief description (3-5 lines)
determining the numerator and denominator from zero-pole-gain
The code

The results (Screenshot)


Lab Example No 12:

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

The results (Screenshot)


Lab Example No 13:

Solution:
Brief description (3-5 lines)

determining the pole, zero and gain from transfer function


The code

The results (Screenshot)


END

You might also like