Question: a) MATLAB functions: Write a MATLAB function that takes an angle 0 (in radians) as input and outputs MATLAB the DCM corresponding to a simple

a) MATLAB functions: Write a MATLAB function that takes an angle 0 (in radians) as input and outputs MATLAB the DCM corresponding to a simple rotation through about the 1-axis. Write two more MATLAB functions similar to the previous one, but each for a simple rotation through about the 2-axis and the 3-axis, respectively. Run each of the three functions for the sample input 0 = 1.774. a) MATLAB functions: Write a MATLAB function that takes an angle 0 (in radians) as input and outputs MATLAB the DCM corresponding to a simple rotation through about the 1-axis. Write two more MATLAB functions similar to the previous one, but each for a simple rotation through about the 2-axis and the 3-axis, respectively. Run each of the three functions for the sample input 0 = 1.774
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
