![](/img/trans.png)
[英]How to find the magnitude and phase of a transfer function at a specific point in MATLAB
[英]MATLAB - Find Frequency of Transfer Function Corresponding to a Magnitude
給定一個傳遞函數H(s)
,我繪制了bode(H)
。 現在,我想獲得幅度等於特定數字的頻率。
這可能嗎?
這是將find
與handles bode
函數結合使用的方法。 讓我們從以下示例開始:
H = tf([1 0.1 7.5],[1 0.12 9 0 0]);
[mag,phase,wout]=bode(H);
然后使用find如下:
thr = 1e-2;
ind = find(mag>0.47-thr & mag<0.47+thr)
該幅度的頻率(0.47)為:
wout(ind)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.