Trianglewave Block

Trianglewave Block

The Trianglewave block emits a triangle wave, defined by its amplitude, bias, frequency, and phase.

Parameters

  • Amplitude (default = 1): Defines the peak magnitude of the triangle wave from zero.
  • Bias (default = 0): Defines a vertical bias to apply to all values.
  • Frequency [rad/s] (default = 1): Defines the number of oscillations each second. Defined in radians per second, where each full cycle is 2π.
  • Phase: (default = 0): Defines (in radians) where in its cycle the oscillation is at t = 0.

Examples

Trianglewave Example