Problem 44895. Determine roll pitch yaw angles from a 3D rotation matrix
Solution Stats
Problem Comments
-
2 Comments
There is a flaw in the test suite. It tests the values in rpy2r rather than the results rpy from the solver's function. Also, the tolerance needs to be widened a bit.
Actually that's not a flaw, William. Since it is not always possible to determine the exact three original angles. In the second test case for instance, there are infinite solutions due to a singularity. Therefore, he tests the rotation matrix since it will be equal for all possible solutions.
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
2659 Solvers
-
Test if a Number is a Palindrome without using any String Operations
219 Solvers
-
125 Solvers
-
Remove entire row and column in the matrix containing the input values
283 Solvers
-
Find and replaces spaces from a input string with *
156 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!