Matlab Analog Filter Grpdelay

12 次查看(过去 30 天)
SOUNAK MAJI
SOUNAK MAJI 2018-11-23
回答: Mathieu NOE 2020-10-12
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
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)')

产品

Community Treasure Hunt

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

Start Hunting!

Translated by