3db bandwidth of a low pass filter

19 ビュー (過去 30 日間)
Ratna
Ratna 2011 年 9 月 22 日
回答済み: Satish reddy Kotamreddy 2017 年 12 月 6 日
Hi, I need to generate a low pass filter and find its 3db values. Do we have any matlab command to find 3db bandwidth? If so, can I plot it?

採用された回答

Wayne King
Wayne King 2011 年 9 月 22 日
Another way is to get the magnitude response using freqz()
[B,A] = butter(10,0.1);
[H,W] = freqz(B,A);
magresp = 20*log10(abs(H));
maxresp = max(magresp);
[I,~] = find(magresp < maxresp-3,3,'first');
fprintf('3-dB point is %2.3f*pi radians/sample\n', W(I(1))/pi)
Wayne
  1 件のコメント
Vivek Bhadouria
Vivek Bhadouria 2011 年 9 月 22 日
freqz is a nice function to see the response of the filter.

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

その他の回答 (2 件)

Wayne King
Wayne King 2011 年 9 月 22 日
Hi, one way is to use an IIR design in MATLAB which uses the 3-dB point directly in the design of the filter. (FIR filters use 6-dB points).
For example:
d = fdesign.lowpass('N,F3dB',10,0.1);
Hd = design(d,'butter');
fvtool(Hd);
If you have the DSP System Toolbox installed, you are able to call the measure() method on Hd
measure(Hd)
Hope that helps,
Wayne

Satish reddy Kotamreddy
Satish reddy Kotamreddy 2017 年 12 月 6 日
Hi i need matlab script for operational trans conductance amplifier lowapass with 3db frequency of 1mhz

カテゴリ

Help Center および File ExchangeFilter Design についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by