cic_freq
Frequency response of a CIC filter.
Namespace: dsp::filter
Prototype
Vecf cic_freq(const CICConfig &config, const Vecf &f)
Parameters
config | Main parameters of the CIC filter (see CICConfig) |
f | normalized frequency, between -0.5 and 0.5 (can be a 1d vector) |
Returns
mag Output magnitude, computed at each frequency point
Description
This function computes the CIC frequency response (in magnitude) at the specified normalized frequencies \(f_k\). The magnitude is computed as:
Example
See also
cic_transfert