Fixed-Point Blockset    
Cosine

Implement a cosine function in fixed-point using a lookup table approach that exploits quarter wave symmetry

Library

LookUp

Description

The Cosine block implements a cosine function using a lookup table that exploits quarter wave symmetry. The output is normally a signed 16 bit number with 14 bits to the right of the radix point.

Parameters and Dialog Box

Number of data points for lookup table
The number of data points in the lookup table

Characteristics

Input Port
Any data type supported by the blockset
Output Port
Same as the input
Direct Feedthrough
Yes


  Conversion Inherited Counter Free