frphase
Phase of FIR and IIR filters.
Namespace: dsp::filter
Prototype
static tuple<Vecf, Vecf> frphase(const Design &d, int npts=1024)
Parameters
d | Transfert function to be analyzed. |
npts | Frequency resolution. |
Returns
A tuple of 2 vectors : the frequencies \(f_k\) (normalized, between 0 and 0.5), and the phases \(y_k\) (in radians).
Description
This function computes the phase response of a FIR or IIR filter: