-
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
-
2388 Solvers
-
487 Solvers
-
1092 Solvers
-
find the maximum element of the matrix
511 Solvers
-
570 Solvers
More from this Author16
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!