How to compute Z-transform with Matlab?

2 views (last 30 days)
Li Hui Chew
Li Hui Chew on 18 Jul 2021
% equation given
y(n)= x(n)+2x(n-1)x(n-2)+y(n-1)-0.5y(n-2)
How to get the z-transform of the equation?
% for z-transform
syms y n
ztrans(1+1-0.5)
Is my approach correct?

Answers (0)

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!