Question: Matlab Problem Problem 1) 3D Rotation (MATLAB Programming) 1-a Implement the rotation of a 3D shape along an arbitrary axis (ai+bj+ck) with a fixed point
Matlab Problem

Problem 1) 3D Rotation (MATLAB Programming) 1-a Implement the rotation of a 3D shape along an arbitrary axis (ai+bj+ck) with a fixed point (Px, Py, Pz), using rotation matrix. Use the following input and output in both cases: Inputs U: a 3x1 vector defining the arbitrary axis PO: a 3x1 vector describing the location of fixed point rotated point P: a 3x1 vector of the original point to be rotated th: angle of rotation in degree Output: q: a 3x1 vector of describing the position of -b For the following cases, use your MATLAB function to report the results of the rotation: Case 1: U = [2 2 2]T, P0-[10-1]T, P= [000]. th = 30 Problem 1) 3D Rotation (MATLAB Programming) 1-a Implement the rotation of a 3D shape along an arbitrary axis (ai+bj+ck) with a fixed point (Px, Py, Pz), using rotation matrix. Use the following input and output in both cases: Inputs U: a 3x1 vector defining the arbitrary axis PO: a 3x1 vector describing the location of fixed point rotated point P: a 3x1 vector of the original point to be rotated th: angle of rotation in degree Output: q: a 3x1 vector of describing the position of -b For the following cases, use your MATLAB function to report the results of the rotation: Case 1: U = [2 2 2]T, P0-[10-1]T, P= [000]. th = 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
