Problems defining a polynomial in the z domain
21 views (last 30 days)
Show older comments
Francisco Araujo
on 1 May 2016
Commented: Francisco Araujo
on 2 May 2016
Hello, I am trying to get a inverse Z transform of the following equation:
G(z) = (0.6321*z^-1)/((1-z^-1)*(1-0.3679*z^-1))
using the code
syms z k
F = (0.6321*z^-1)/((1-z^-1)*(1-0.3679*z^-1))
iztrans(F, z, k)
However, geting the following error:
Error: Unexpected MATLAB expression.
What is wrong?
0 Comments
Accepted Answer
John BG
on 2 May 2016
Araujo
try the following
syms z n
F(z) = (0.6321*z^-1)/((1-z^-1)*(1-0.3679*z^-1))
f(n)=iztrans(F,z,n)
F(z) = 6321/(10000*z*(1/z - 1)*(3679/(10000*z) - 1))
f(n) = 1 - (3679/10000)^n
check that
ztrans(1 - (3679/10000)^n)
=
z/(z - 1) - z/(z - 3679/10000)
is the same as your initial function in z domain.
If you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John
0 Comments
More Answers (1)
Walter Roberson
on 1 May 2016
0.3679z is not valid syntax. You need to add the multiplication symbol, 0.3679*z
See Also
Categories
Find more on Polynomials 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!