dsp 4

Embed Size (px)

Citation preview

  • 7/25/2019 dsp 4

    1/2

    Experiment 4

    Aim: Study of Z-transform and Its Application

    Software Required: MATLAB 2013a

    THEORY:The Z-transform converts a discrete-time signal, which is a sequence of real orcomplex numbers,

    into a complex frequency domain representation.

    where x[n]is defined only for n 0, thesingle-sidedor unilateralZ-transform is defined as

    In signal processing, this definition can be used to evaluate the Z-transform of the unit impulse

    response of a discrete-time causal system.

    An important example of the unilateral Z-transform is the probability-generating function, where

    the component x[n]is the probability that a discrete random variable takes the value n, and the

    function X(z)is usually written as X(s), in terms of s= z1.

    The inverseZ-transform is

    where C is a counterclockwise closed path encircling the origin and entirely in the region of

    convergence (ROC).

    ALGORITHM/PROCEDURE:

    1. Start the program

    2.

    Get the inputs for signal generation

    3. Use the appropriate library function

    4. Display the result

  • 7/25/2019 dsp 4

    2/2

    SOURCE CODE :

    %program to perform z transform and inverse z transformclear all;close all;clcsyms anx

    f = a^n;

    ztrans(f , x)

    iztrans(f , x)

    Output

    RESULT:

    The program to study Z-transform is complete.