How can I find transfer function from a difference equation?

24 次查看(过去 30 天)
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 !

采纳的回答

Shashank Prasanna
Shashank Prasanna 2013-6-28
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.
  3 个评论
Shashank Prasanna
Shashank Prasanna 2013-6-28
Please take a look at the documentation page of TF:
You can create the transfer function by passing in the right arguments. I guess that's what the doctor ordered.

请先登录,再进行评论。

更多回答(2 个)

D. Mike Daniel
D. Mike Daniel 2016-10-10
I'm not sure I fully understand the equation. I also am not sure how to solve for the transfer function given the differential equation. I do know, however, that once you find the transfer function, you can do something like (just for example):
>> H_z = tf(1, [1 4 6])
H_z =
1
-------------
s^2 + 4 s + 6
Continuous-time transfer function.
>> pzmap(H_z)
Where pzmap plots a graph of the poles (marked with "x"s) and zeros (marked with "o"s). This example has no zeros, but has poles at -2 +/- sqrt(2)*i.

yakub sharif
yakub sharif 2019-1-25
Hey, I have a question If you could help
How can I get the transfer function from the equation: (2*Vm*(s*cos(theta - (2*pi)/3) - w1*sin(theta - (2*pi)/3)))/(3*(s^2 + w1^2)) + (2*Vm*(s*cos(theta + (2*pi)/3) - w1*sin(theta + (2*pi)/3)))/(3*(s^2 + w1^2)) + (2*Vm*(s*cos(theta) - w1*sin(theta)))/(3*(s^2 + w1^2))

类别

Help CenterFile Exchange 中查找有关 Stability Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by