Inverse Z-Transform of z/(z-a) - Strange result
Ältere Kommentare anzeigen
Hello everyone, I tried to get the inverse Z-transform of z/(z-a) with the following lines:
close all
clear all
syms a n z
iz=iztrans(z/(z-a),z,n)
the result is:
piecewise([a == 0, kroneckerDelta(n, 0)], [a ~= 0, a*(a^n/a - kroneckerDelta(n, 0)/a) + kroneckerDelta(n, 0)])
but I expect a^n. How can I get a^n?
Thank you for your time.
1 Kommentar
Karan Gill
am 26 Jul. 2017
To add to Star Strider's answer below, your result contains the piecewise function. See that doc page for more info.
Akzeptierte Antwort
Weitere Antworten (1)
Arthur Ngnepiepaye
am 6 Nov. 2020
0 Stimmen

Can someone help me out plotting this zero input response? It's confusing
1 Kommentar
Star Strider
am 6 Nov. 2020
Post this as a new Question.
Kategorien
Mehr zu MATLAB 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!