What is the Fixed-Point function replacement for atan?
显示 更早的评论
I am converting my matlab function to vhdl. What is the function replacement for atan so that it can be converted to fixed point? And also another error is reported. error : Undefined function or variable 'epsilon_out'. The first assignent to a local variable determines its class. how to remove this.
采纳的回答
更多回答(2 个)
Bharath Venkataraman
2014-1-20
1 个投票
You can also try using cordicatan2, which gives you a CORDIC based inverse tangent value.
Paul Bayendang
2014-4-11
0 个投票
1) Also figuring a work around for atan function
2) atan2 function is supported, as far as r2012a
类别
在 帮助中心 和 File Exchange 中查找有关 Code Generation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!