Natural frequency/discretization/transfer function/Simulink
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone!
I'm having a issue about how to get a natural frequency on a Matlab Function Block on Simulink. Here's what I got:
- g2 = ((G1*(G2+2*G_previous1+G_previous2))-(g_previous1*(2*C-2*A))-(g_previous2*(C+A-B)))/(A+B+C);
where g2 is a discretized signal based on a second order transfer function (G/ (s^2 + 2ksi wn + 2 wn^2))
where:
A = 4/(T^2);
B = (4*ksi*wn)/T;
C = (wn)^2;
my point is: I fixed the values of wn and ksi, but how can a give a step or damp to get the natural frequency of the system, since the g2, G2 and the previous ones are getting updated when I run my model?
2 个评论
VBBV
2020-10-11
Use damp function to get the natural frequency and damping ratio
%if true
% code
% end
[wn zeta] = damp(sys)
Where sys is the discrete time transfer function of your model obtained using tf
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!