sin

Block Inputs: fx1.16 or fx1.32 format.

The sin block produces the sine of the input signal in scaled fixed-point notation. The block automatically uses fx1.16 or fx1.32 based on the data type of the input signal. The input signal is represented in “per unit” angles. This means the angle input is implicitly multiplied by 2π so that a value sweeping from zero to one will produce a complete cycle of sin output. Typically, this block is fed by a repeating fixed-point ramp that runs from zero to one.

Example

fxsin example