Finding frequency corresponding to some gain in magnitude plot of bode

37 ビュー (過去 30 日間)
Sunil Kumar Giri
Sunil Kumar Giri 2019 年 5 月 9 日
コメント済み: Star Strider 2022 年 7 月 26 日
Hi Community members !
Can you please help me in getting a solution to my problem? I have a transfer function e.g. G(s) = 144000/(s*(s+36)*(s+100)), bode plot of which is given. The magnitude plot passes through -3.76 dB gain at some particular value of frequency. I want to access that particular frequency value using MATLAB program.
Thanks !

採用された回答

Star Strider
Star Strider 2019 年 5 月 9 日
Try this:
s = tf('s');
G = 144000/(s*(s+36)*(s+100));
[mag,phase,wout] = bode(G);
mag = squeeze(mag);
phase = squeeze(phase);
wq = interp1(20*log10(mag), wout, -3.76); % Find Desired Frequency
figure
semilogx(wout, 20*log10(mag), wq, -3.76, 'r+')
grid
text(wq, -3.76, sprintf('\\leftarrow -3.76 dB at %.2f rad/sec',wq), 'HorizontalAlignment','left', 'VerticalAlignment','middle')
The result is:
wq =
39.034
so your transfer function will equal -3.76 dB at 39.034 rad/sec.
  11 件のコメント
parvathy ss
parvathy ss 2022 年 7 月 26 日
Thank you so much....
Star Strider
Star Strider 2022 年 7 月 26 日
A Vote is always appreciated!
.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePlot Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by