Signals and Systems : MATLAB Script for Inverse Z Transform

Objective: to understand how to compute Inverse Z-transform using MATLAB built in function 'iZTRANS'
MATLAB code

clc;
close all;
clear all;
syms z
N=input('enter x(z)'wink;
y = iztrans(N);
disp('The Inverse Z transform of x(n) is:'wink;
disp(y);

SAMPLE INPUT:
After running the above MATLAB script, you can enter the following sample inputs to see the output.

x(z) = z/(z - 1/2)
x(z) = 4*z/(4*z-1)
x(z) = z/(1/2*z-1)+8*z/(2*z-1)
Posted by makeale 01/05/2015 04:36 PM Comments
 

Archives