Namespaces

Types in MathNet.Filtering.DataSources

Type SignalGenerator

Namespace MathNet.Filtering.DataSources

Generators for sinusoidal and theoretical signal vectors.

Static Functions

Public Static Functions

Double[] Impulse(int offset, int frequency, double amplitude, int length)

Create a Dirac Delta Impulse Signal Sample Vector.
Parameters
int offset

Offset to the time axis. Zero or positive.

int frequency

impulse sequence frequency. -1 for single impulse only.

double amplitude

The maximal reached peak.

int length

The count of samples to generate.

Double[] Sine(double samplingRate, double frequency, double phase, double amplitude, int length)

Create a Sine Signal Sample Vector.
Parameters
double samplingRate

Samples per unit.

double frequency

Frequency in samples per unit.

double phase

Optional phase offset.

double amplitude

The maximal reached peak.

int length

The count of samples to generate.

Double[] Step(int offset, double amplitude, int length)

Create a Heaviside Step Signal Sample Vector.
Parameters
int offset

Offset to the time axis. Zero or positive.

double amplitude

The maximal reached peak.

int length

The count of samples to generate.