Z- Transform Problem Confusion

Profressor didn't fully explain what codes to use or matlab tools that can help.

 Accepted Answer

The ztrans function could be useful here —
syms n t x(n) X(z) y(n) Y(z) z
Eqn1 = y(n) == 2*y(n-2) + y(n) + x(n)
Eqn1 = 
Eqz1 = ztrans(Eqn1,n,z)
Eqz1 = 
Eqz1 = simplify(Eqz1, 500)
Eqz1 = 
Eqz1 = subs(Eqz1, {ztrans(x(n),n,z),ztrans(y(n),n,z)}, {X(z), Y(z)})
Eqz1 = 
Eqziso = isolate(Eqz1, Y(z))
Eqziso = 
Experiment!
.

2 Comments

Thanks for the guideline. Godspeed. :>
As always, my pleasure!
You, too!
.

Sign in to comment.

More Answers (0)

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!