iztrans not giving correct result?
3 views (last 30 days)
Show older comments
I wrote a program to first find out z transform X of input x and then secondly applied inverse z transform to X to get back original x but when i use the iztrans command , i do not get the original input as shown highlighted in attached phot. My code is as follow
clc
clear all
close all
syms z n
x=n^2*heaviside(n) % original input
X=ztrans(x,z) % z transform of input
x1=iztrans(X,n) % Application of inverse z transform to get back original input
0 Comments
Answers (1)
See Also
Categories
Find more on Mathematical Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!