Professional Documents
Culture Documents
20BEC1042
EXPERIMENT 5
STABILITY ANALYSIS OF SYSTEM AND
CIRCULAR CONVOLUTION
Aim:
Find z-transform of x(n) = 2n u(n)
Plot the pole-zero pattern to find the stability
Find circular convolution with and without using built-in functions
Plot the pole-zero plot of
Y ( Z) 1+ z −1
=
H(Z) = X ( Z ) 3 −1 1 −2
1+ z + z
4 8
Program code:
clc
close all
clear all
%z-transform
syms z n a;
x=2^n;
fprintf('Z-Transform is:')
X=ztrans(x) %z-transform
fprintf('Inverse z-transform is:')
inv=iztrans(X) %inverse z transform
%Pole-zero plot
num1=input('Enter the numerator coeff:')
den1=input('Enter the denominator coeff:')
figure(1)
subplot(2,2,1)
zplane(num1,den1)
title('Stable','fontsize',12, 'fontweight', 'bold')
subplot(2,2,2)
zplane(num2,den2)
title('Unstable','fontsize',12, 'fontweight', 'bold')
%Pole-zero of given fn
Simulation output:
Y ( Z) 1+ z −1
=
For H(Z) = X ( Z ) 3 −1 1 −2
1+ z + z
4 8
Result: We have thus performed the stability analysis for systems using z-
transform and computed circular convolution. Also, the theoretical calculations
match the simulated output.
Output verification: