-
1 Comment
Rafael S.T. Vieira
on 14 Sep 2020
It's interesting that a precision error allows you to recover the original angles: atan2(cos(pi/2)*sin(pi/3),cos(pi/2)*cos(pi/3)) amazingly returns pi/3, which obviously should not be true since atan2(0,0) = 0 (?). The issue seems to be that cos(pi/2) is not zero (due to an approximation error), but just a really small value close to zero.
Suggested Problems
-
1256 Solvers
-
553 Solvers
-
1268 Solvers
-
555 Solvers
-
262 Solvers
More from this Author16
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!