Question: Please submit a code that takes an input vector, {x0 y0 z0}, and outputs a vector, {x1 y1 z1}, that has gone through a 3-2-1
Please submit a code that takes an input vector, {x0 y0 z0}, and outputs a vector, {x1 y1 z1}, that has gone through a 3-2-1 transformation matrix.
Remember, to do this transformation, the matrices are multiplied from right to left. On paper, this looks like
{x1 y1 z1} = [T1 (about x axis)] . [T2 (about y axis)] . [T3 (about z axis)] . {x0 y0 z1}
or
{x1 y1 z1} = [T321] . {x0 y0 z1}
where,
[T321] = [T1] . [T2] . [T3]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
