Gaussian filtered impulse.

Namespace: dsp

Prototype

static Vecf siggauss(int n, float a=10)

Parameters

nNumber of points to generate.
aDecrease rate.

Description

\[ x_k = e^{-a \left(\frac{k-N/2}{N/2}\right)^2} \]

Example


  // 1000 échantillons
  soit x = siggauss(1000);
  Figure f;
  f.plot(x);

See also

sigtri(), sigsin(), sigcos(), sigexp(), siggsin()