Main Content

CORDIC Algorithms in Simulink

CORDIC algorithm operations in Simulink®

CORDIC (COordinate Rotation DIgital Computer)-based algorithms are some of the most hardware-efficient algorithms because they require only iterative shift-add operations. The CORDIC algorithm eliminates the need for explicit multipliers, and is suitable for calculating a variety of functions.

Blocks

Complex to Magnitude-Angle HDL OptimizedCompute magnitude and phase angle of complex signal – optimized for HDL code generation using the CORDIC algorithm
Hyperbolic Tangent HDL OptimizedComputes CORDIC-based hyperbolic tangent and generates optimized HDL code
Magnitude-Angle to ComplexConvert magnitude and/or a phase angle signal to complex signal
Trigonometric FunctionSpecified trigonometric function on input

Topics

sincos Function with Fixed-Point Input

This example shows how to use the Trigonometric Function block to compute the CORDIC approximation of sincos for a fixed-point input signal.

Digital Waveform Generation: Approximating a Sine Wave

This example shows some of the main steps needed to design and evaluate a sine wave data table for use in digital waveform synthesis applications in embedded systems and arbitrary waveform generation instruments.

Featured Examples