What is the Fixed-Point function replacement for atan?
Show older comments
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.
Accepted Answer
More Answers (2)
Bharath Venkataraman
on 20 Jan 2014
1 vote
You can also try using cordicatan2, which gives you a CORDIC based inverse tangent value.
Paul Bayendang
on 11 Apr 2014
0 votes
1) Also figuring a work around for atan function
2) atan2 function is supported, as far as r2012a
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!