Click or drag to resize

GenerateSquareSequence Method

Create an infinite periodic square wave sequence, 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 IEnumerable<double> SquareSequence(
	int highDuration,
	int lowDuration,
	double lowValue,
	double highValue,
	int delay = 0
)

Parameters

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

IEnumerableDouble

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

See Also