Question: Write a MATLAB program to calculate the homogeneous transformation matrix AT when the user enters Z-Y-X Euler angles a--y and the position vector PB.

Write a MATLAB program to calculate the homogeneous transformation matrix AT when 

Write a MATLAB program to calculate the homogeneous transformation matrix AT when the user enters Z-Y-X Euler angles a--y and the position vector PB. Test for two examples: i) a = 10, B= 20, y = 30, and Pg = {1 2 3 1. ii) For = 20 ( =y=0), P = (3 0 1}. Define AT to be the result from (a)(i) and 27 to be the result from (a)(ii). i) Calculate 7, and show the relationship via a transform graph. Do the same for CT. ii) Given T and T from (d)(i)-assume you don't know 4T, calculate it, and compare your result with the answer you know. iii) Given 47 and 47 from (d)(i)-assume you don't know T, calculate it, and compare your result with the answer you know.

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

function homogeneousTransformationExample i Example 1 alpha deg2rad10 beta deg2rad20 gamma deg2rad30 APR 1 2 3 Position vector Calculate the rotation ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Business Writing Questions!