How to find out roll-off from magnitude response of filter in matlab
古いコメントを表示
How to find out roll-off from magnitude response of filter in matlab?
This is from doc frequency response of matlab site

回答 (1 件)
fs = 2000;
[b,a] = butter(9,400/(fs/2));
[h, f] = freqz(b,a,16384,fs);
h = 20*log10(abs(h));
[~, i3db] = min(abs(h - 10*log10(1/2)));
f3db = f(i3db);
plot(f, h);
xline(f3db)
grid on
ylim([-60 0])
8 件のコメント
632541
2021 年 9 月 23 日
632541
2021 年 9 月 23 日
Chunru
2021 年 9 月 23 日
How do you define roll-off rate?
632541
2021 年 9 月 23 日
Chunru
2021 年 9 月 23 日
In programming, you need to define the quantity that is computable. Where is the "line" from which point to which point? Do you want to compute the slope at certain point or certain type of average slope over certain range? If there is no definition given, it is up to everyone to give a different version.
632541
2021 年 9 月 23 日
Chunru
2021 年 9 月 23 日
Shouldn't you come out your design first?
632541
2021 年 9 月 23 日
カテゴリ
ヘルプ センター および File Exchange で Linear Model Identification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
