Fixed-Point ATAN2 using CORDIC

版本 1.0.0.1 (10.9 KB) 作者: Giorgia Zucchelli
This demo shows how a fixed-point cordic algorithm to calculate a phase from polar coordinates (arct
3.1K 次下载
更新时间 2016/9/1

查看许可证

This demo consists of a m-file script (fixed_point_atan2_using_cordic.m) and a m-file function (atan2_fixpt.m). The script contains a step-by-step explanation of how a four quadrant arctan can be calculated using a CORDIC (COordinate Rotation DIgital Computer) algorithm. The first part shows the CORDIC algorithm in floating-point double precision, whereas the second part of the m-file explains how to implement the CORDIC in 16-bit fixed-point with bit shifts. The third part shows how to generate C code for the m-file function to speed-up the algorithm.
The m-file function contains an implementation of the CORDIC in Embedded MATLAB™ compliant m-code. This function can be used to generate C-code or HDL (VHDL or Verilog) in MATLAB® of Simulink®.

引用格式

Giorgia Zucchelli (2024). Fixed-Point ATAN2 using CORDIC (https://www.mathworks.com/matlabcentral/fileexchange/19316-fixed-point-atan2-using-cordic), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0