Question: 3 . a ) Write a similar function, which converts a rotation matrix to Unit Quaternions Q = { } . Use the following format
a Write a similar function, which converts a rotation matrix to Unit Quaternions
Q Use the following format for your code:
function RotUQuaterRotMatrix
Your Code
display results Eta scalar and Esp vector
Hint: Be careful when using the MATLAB signx function for this question. In
particular, what should the value of sign be or
b Provide the results for the above rotation matrices Rot Rot and Rot
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
