how to calculate absolute value for a tf-object for a certain frequency
10 ビュー (過去 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
0 件のコメント
回答 (1 件)
Star Strider
2019 年 5 月 23 日
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.
2 件のコメント
Star Strider
2019 年 5 月 23 日
My pleasure.
It is appropriate to Accept Answers that solve problems!
That tells others that the solution was successful.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!