필터 지우기
필터 지우기

Inverse Z-Transform of z/(z-a) - Strange result

조회 수: 6 (최근 30일)
Gennaro Arguzzi
Gennaro Arguzzi 2017년 7월 26일
댓글: fadli yusuf 2020년 12월 23일
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
Karan Gill
Karan Gill 2017년 7월 26일
To add to Star Strider's answer below, your result contains the piecewise function. See that doc page for more info.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2017년 7월 26일
Specify ‘a>0’, and simplify:
syms a n z
assume(a > 0)
iz=iztrans(z/(z-a),z,n);
iz = simplify(iz);
iz =
a^n

추가 답변 (1개)

Arthur Ngnepiepaye
Arthur Ngnepiepaye 2020년 11월 6일
Can someone help me out plotting this zero input response? It's confusing

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by