design_fir_freq_freqs

Computes the \(m\) frequencie values used for the sampling frequency technique design.

Namespace: dsp::filter

Prototype

Vecf design_fir_freq_freqs(int n)

Parameters

nFilter order (must be odd).

Description

This function returns the following frequency vector: \[ f_k = k \cdot \frac{1}{2m-1},\ k = 0,\dots, m-1 \] where \(m=(n+1)/2\) is the number of frequency points to specify.

See also

design_fir_freq()