How can I compute the four-quadrant inverse tangent using symbolic variables in the Symbolic Math Toolbox?
2 views (last 30 days)
Show older comments
I want to compute the four-quadrant inverse tangent using symbolic variables.
Accepted Answer
MathWorks Support Team
on 19 Jun 2013
As of Release 2013a (R2013a), the ATAN2 function in the Symbolic Math Toolbox provides this functionality. For previous product releases, read below for a workaround:
To compute the four-quadrant inverse tangent using symbolic variables created with the Symbolic Math Toolbox, use the ATAN function with two arguments. For example.
a = sym(1);
b = sym(8);
atan(a,b)
0 Comments
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!