ola_complexity_optimize

Compute optimal parameters for an OLA filter.

Namespace: dsp::fourier

Prototype

void ola_complexity_optimize(int M, float &C, int &Nf, int &Nz, int &Ne)

Parameters

MTime-domain filter length (in samples),
CComplexity, in FLOPS by input sample,
NfFFT dimension,
NzNumber of zeros inserted for each FFT block ( \(N_f = N_e + N_z\))
NeOptimal input block length.

Description

This function computes the optimal input block length for an OLA process (see filter_fft()). The optimum is found for \(N_e = 2^k - (M-1)\), \(k\) being found by exhaustive search.

See also

ola_complexity()