Problems defining a polynomial in the z domain

21 views (last 30 days)
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?

Accepted Answer

John BG
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

More Answers (1)

Walter Roberson
Walter Roberson on 1 May 2016
0.3679z is not valid syntax. You need to add the multiplication symbol, 0.3679*z
  1 Comment
Francisco Araujo
Francisco Araujo on 2 May 2016
I edited the text. I just wrote wrong here. Still with problems... =/

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!