Matlab program to find Z-transform, Inverse Z-transform, Zeroes and Poles of given sequence.
Matlab code
clc;
close all; clear all; syms n z;
X=ztrans(y);
disp('Z-transform Z[n] of given function');X x=iztrans(X);
disp('Inverse Z-transform of X');x [num den]=numden(X); z=solve(num);
disp('Zeroes of Z[n]');z p=solve(den); disp('Poles of Z[n]');p
Command Window
Enter the sequence x[n]:2^n
Z-transform Z[n] of given function X =
z/(z - 2)
Inverse Z-transform of X x =
2^n
Zeroes of Z[n] z =
0
Poles of Z[n] p =
2
No comments:
Post a Comment