design_fir_gaussian

Coefficients for FIR approximation of a Gaussian filter (non windowed).

Namespace: dsp::filter

Prototype

Vecf design_fir_gaussian(int n, float σ)

Parameters

nNumber of taps.
σStandard deviation (in number of samples).

Description

Example

  soit h1 = design_rif_gaussien(21, 0.5),
       h2 = design_rif_gaussien(21, 2);

  Figures f;
  f.subplot().plot(h1, "|ob", "σ = 0,5");
  f.subplot().plot(h2, "|og", "σ = 2,0");

See also

design_fir_gaussian_telecom()