Click or drag to resize

GenerateTriangle Method

Create a periodic triangle wave, starting with the raise phase from the lowest sample.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double[] Triangle(
	int length,
	int raiseDuration,
	int fallDuration,
	double lowValue,
	double highValue,
	int delay = 0
)

Parameters

length  Int32
The number of samples to generate.
raiseDuration  Int32
Number of samples of the raise phase.
fallDuration  Int32
Number of samples of the fall phase.
lowValue  Double
Lowest sample value.
highValue  Double
Highest sample value.
delay  Int32  (Optional)
Optional delay.

Return Value

Double

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

See Also