sigsawtooth

Sawtooth signal.

Namespace: dsp

Prototype

static Vecf sigsawtooth(int p, int n)

Parameters

pPeriod, in number of samples.
nNumber of points to generate.

Description

Example


  // Période = 10, génère 200 échantillons
  soit x = sigscie(10, 200);
  Figure f;
  f.plot(x);

See also

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