MATLAB: How to find transfer function from a difference equation

differential equationsdoit4metransfer function

Hey,,I'm new to matlab.
I have homework says that:- y(n)=0.4142y(n-1)+0.2929x(n)+0.2929x(n-1)
find H(z) ?? Plot the poles and zeros on the z-plan with the unit circle ?
Can Somebody help me ,, Please?? thank You !

Best Answer

This is not a MATLAB question.
Here is some theory:
https://ccrma.stanford.edu/~jos/filters/Z_Transform_Difference_Equations.html
You can certainly plug in those coefficients into tf (in the right way) and it will give you the transfer function.