Create a periodic sawtooth wave, starting with the lowest sample.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double[] Sawtooth(
int length,
int period,
double lowValue,
double highValue,
int delay = 0
)
Parameters
- length Int32
- The number of samples to generate.
- period Int32
- Number of samples a full sawtooth period.
- lowValue Double
- Lowest sample value.
- highValue Double
- Highest sample value.
- delay Int32 (Optional)
- Optional delay.
Return Value
DoubleThe sawtooth-wave samples.
See Also