Implement sine and cosine functions using lookup table approach
Motor Control Blockset / Controls / Math Transforms
The Sine-Cosine Lookup block implements sine and cosine functions using the specified position or phase input signal.
The block uses the lookup table approach for optimized code-execution. You can specify the number of lookup table points in the Number of data points for lookup table parameter.
This figure shows the input position and the generated sine and cosine output signals:
Inverse Park Transform | Mechanical to Electrical Position | Park Transform | Position Generator