(Solved): a. (1.5 points) Using the ZYX() Euler angle convention, write a MATLAB program to ...
a. (1.5 points) Using the Z−Y−X(α−β−γ) Euler angle convention, write a MATLAB program to calculate the rotation matrix R when the user enters the Euler angles α−β−γ. Test for two examples i) α=10∘,α=30∘,β=20∘,β=90∘,γ=30∘.γ=−55∘. b. (1.5 points) Write a MATLAB program to calculate the Euler angles α−β−γ when the user inputs the rotation matrix R (the inverse problem). Demonstrate this inverse solution for the two cases from part 2.2.a.