Period Function

Generates a sawtooth curve


Syntax

Period (Length, samplingRate, Frequency, Amplitude)

Period (Length, samplingRate, Frequency, Amplitude, PhaseOffset)

Period (Length, samplingRate, Frequency, Amplitude, PhaseOffset, Delay)


Parameters

Length

Total number of samples


SamplingRate

Samples per time unit. This means that the value corresponds to the total number of samples for representing the periods specified under Frequency. Must be greater than twice the frequency.


Frequency

Frequency in periods per time unit (Hz)


Amplitude

Amplitude of the curve


Optional Parameter

PhaseOffset

Offset of the phase.


Delay

Delay relative to the phase

Example