Click or drag to resize

GenerateSquare Method

Create a periodic square wave, starting with the high phase.

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

Parameters

length  Int32
The number of samples to generate.
highDuration  Int32
Number of samples of the high phase.
lowDuration  Int32
Number of samples of the low phase.
lowValue  Double
Sample value to be emitted during the low phase.
highValue  Double
Sample value to be emitted during the high phase.
delay  Int32  (Optional)
Optional delay.

Return Value

Double

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

See Also