Click or drag to resize

GenerateSinusoidal Method

Create a Sine wave.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double[] Sinusoidal(
	int length,
	double samplingRate,
	double frequency,
	double amplitude,
	double mean = 0,
	double phase = 0,
	int delay = 0
)

Parameters

length  Int32
The number of samples to generate.
samplingRate  Double
Samples per time unit (Hz). Must be larger than twice the frequency to satisfy the Nyquist criterion.
frequency  Double
Frequency in periods per time unit (Hz).
amplitude  Double
The maximal reached peak.
mean  Double  (Optional)
The mean, or DC part, of the signal.
phase  Double  (Optional)
Optional phase offset.
delay  Int32  (Optional)
Optional delay, relative to the phase.

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Generate.Sinusoidal(System.Int32,System.Double,System.Double,System.Double,System.Double,System.Double,System.Int32)"]

See Also