Get group delays
returns the group delay of each filter at its center frequency.
groupDelays = getGroupDelays(
returns the center frequency of each filter.
centerFrequencies] = getGroupDelays(
Get Group Delays
Create a default
octaveFilterBank object. Call
getGroupDelays to get the group delay of each octave filter at its center frequency.
octFiltBank = octaveFilterBank; [gd,cf] = getGroupDelays(octFiltBank);
Plot the group delay as a function of filter center frequency.
loglog(cf,gd,'k-',cf,gd,'bo') grid on xlabel('Frequency (Hz)') ylabel('Delay (samples)') xticks(round(cf)) yticks(round(fliplr(gd)))
obj — Object to get group delays from
Object to get group delays from, specified as an object of
groupDelays — Group delays (samples)
Group delay of each filter at its center frequency in samples, returned as a row vector.
centerFrequencies — Center frequencies of filters (Hz)
Center frequencies of filters designed by
obj in Hz, returned
as a row vector.
Introduced in R2019a