DSP EXP 4A


DSP EXP NO. 4A
TITLE: TO FIND Z AND INVERSE Z TRANSFORM AND POLE ZERO PLOT OF Z TRANSFER FUNCTION


clc;
clear all;
close all;
n=sym('n','real');

x=2^n;
x1=ztrans(x);
disp('Z transform of first signal');
disp(x1);
b=[1];
a=[1 -2];
[z,p]=tf2zp(b,a);
subplot(3,1,1);
zplane(z,p);
x2=iztrans(x1);
disp('Inverse Z transform of first signal');
disp(x2);

x=(0.5)^n;
x1=ztrans(x);
disp('Z transform of second signal');
disp(x1);
b=[1];
a=[1 -0.5];
[z,p]=tf2zp(b,a);
subplot(3,1,2);
zplane(z,p);

x2=iztrans(x1);
disp('Inverse Z transform of second signal');

disp(x2);

x=(1+(0.2)^n*n);
x1=ztrans(x);
disp('Z transform of third signal');
disp(x1);
x2=iztrans(x1);
disp('Inverse Z transform of third signal');
disp(x2);

Previous Post Next Post