Matlab Analog Filter Grpdelay

9 visualizzazioni (ultimi 30 giorni)
SOUNAK MAJI
SOUNAK MAJI il 23 Nov 2018
Risposto: Mathieu NOE il 12 Ott 2020
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 Commento
Yang Liu
Yang Liu il 12 Ott 2020
Maybe you can turn the analog filter to digital filter and then you can use grpdelay function.

Accedi per commentare.

Risposte (1)

Mathieu NOE
Mathieu NOE il 12 Ott 2020
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)')

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by