Implementing Unilateral Z-Transform of a^n
Ältere Kommentare anzeigen
Hello everyone, I wrote the following lines to implement the unilateral Z-transform of a^n:
close all
clear all
syms n a z
assume(a>0)
S=symsum(a^n*z^-n,n,0,+Inf)
the result is:
piecewise([a == z, Inf], [a ~= z, -(z - z*limit(a^n/z^n, n == Inf))/(a - z)])
The result should be z/(z-a). How can I get it?
Thank you in advance.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu z-transforms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!