How can I compute the four-quadrant inverse tangent using symbolic variables in the Symbolic Math Toolbox?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
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)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!