fxCos

Block Category: Fixed Point

Inputs: fx1.16 or fx1.32 format.

Description: The fxCos block produces the cosine 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 0 – 1 will produce a complete cycle of sin output. Typically, this block is fed by a repeating fixed-point ramp that runs from 0 – 1 .