What is the Fixed-Point function replacement for atan?
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (2)
Bharath Venkataraman
il 20 Gen 2014
1 voto
You can also try using cordicatan2, which gives you a CORDIC based inverse tangent value.
Paul Bayendang
il 11 Apr 2014
0 voti
1) Also figuring a work around for atan function
2) atan2 function is supported, as far as r2012a
Categorie
Scopri di più su Code Generation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!