how to calculate absolute value for a tf-object for a certain frequency

59 次查看(过去 30 天)
how to calculate absolute value for a tf-object for a certain frequency.
i.e. I have a transfer function object, tf. I would like to calculate the absolute value and the angle of the transfer function for a certain frequency.
Anders

回答(1 个)

Star Strider
Star Strider 2019-5-23
Thje evalfr (link) function is likely what you want.
It requires a complex radian frequency for the frequency argument, so for example 100 Hz would be 2*pi*1j*100. You can get the magnitude of the complex output with the abs function, and the radian phase angle with the angle function.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by