design_fir_hilbert

Hilbert filter FIR approximation.

Namespace: dsp::filter

Prototype

Vecf design_fir_hilbert(int n, cstring window="hn")

Parameters

nFilter order
windowWindow type (by default, Hann window). See window()

Returns

FIR filter coefficients

Description

This function computes the windowed theoretical temporal response of a Hilbert filter: \[ h_k = \frac{2}{k\pi} \cdot \sin(k \pi / 2)^2 \cdot w_k; \]

Example

See also

hilbert(), hilbert_transformer()