Problem 44893. Create a 3D rotation matrix from roll-pitch-yaw angles
Solution Stats
Problem Comments
-
2 Comments
William
on 27 Apr 2019
The variable name rpy suggests that the order is [roll, pitch, yaw], but that's not correct, is it?
William
on 4 May 2019
Oh, I see. You have defined the yaw to be around the x-axis, and the roll to be around the z-axis. But there is still a problem with test case 4. I think it should be [-1,-2,0] rather than [1,-2,0].
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
2128 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1476 Solvers
-
Maintain shape of logical-index mask
67 Solvers
-
Calculate a modified Levenshtein distance between two strings
114 Solvers
-
382 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!