Matlab Analog Filter Grpdelay

I designed a analog elliptic filter using Matlab. How do I find the filter grpdelay as a function of freq?
(grpdelay command works only for digital filters)

1 件のコメント

Yang Liu
Yang Liu 2020 年 10 月 12 日
Maybe you can turn the analog filter to digital filter and then you can use grpdelay function.

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

回答 (1 件)

Mathieu NOE
Mathieu NOE 2020 年 10 月 12 日

0 投票

Compute the group delay response of the filter as the derivative of the unwrapped phase response.
[h,w] = freqs(b,a,1000);
grpdel = diff(unwrap(angle(h)))./diff(w);
clf
semilogx(w(2:end),grpdel)
xlabel('Frequency (rad/s)')
ylabel('Group delay (s)')

製品

質問済み:

2018 年 11 月 23 日

回答済み:

2020 年 10 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by