sinusoid

Block Category: Signal Producer

Description: The sinusoid block creates a unit sine wave signal.

Amplitude: Specifies the maximum strength of the output signal. The default isĀ 1. You can enter a value as a C expression.

Frequency (rad/sec): Controls the frequency of oscillation of the output signal. You can specify the frequency in Hz or radians. To change the frequency unit, use the System > System Properties > Preferences > Frequency Units parameter.

For rad/sec, the frequency is in radians per second. For example, if you specify a frequency of 1, one oscillation completes in 2s. The default is 1.

You can enter a value as a C expression.

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.

Time Delay (sec): Indicates a time or phase offset that is used in the calculation of a signal. Specify the offset in seconds. The default is 0. For a constant-valued delay, wire a ramp and timeDelay block into a greater than block. Then wire the greater than block, a 0 const block and sinusoid into a merge block. You can enter a value as a C expression.