2. Compute the equivalent Euler angles. WARNING: It is forbiden to use the Matlab library function eul2rotm here. Pay attention to the unit: degree, as well as in trigonometric functions. a. Given R1, compute the successive w-u-w angles: angle w, angle u, angle_w1. R1 = [0.0629 0.9101 0.4096 -0.9559 -0.0629 0.2868; 0.2868 -0.4096; 0.8660]; angle_u = 0 angle w = 0 angle_w1 = 0 b. If the same R1 is realized by the rotations around body frame axes, as follows: First rotates around w by aw, then around v by av, and finally around u by au. Compute the three successive angles aw, av, and au, respectively. av = 0 au = 0 aw = 0 c. The body frame firstly coincides with the fixed frame, then it has the following successive rotations all about the body frame axis: Rotation about w by angle. W, rotation about u by angle u, rotation about w again by angle_w1, rotation about w by aw, rotation about v by av, and finally rotation about u by au. Compute the final rotation matrix R2. R2 = zeros(3,3) d. If the above R2 is only realized by three successive rotations by roll, pitch and yaw aroud the fixed frame axes x, y and z, compute the roll, pitch and yaw. pitch = 0 roll = 0 yaw = Ө
2. Compute the equivalent Euler angles. WARNING: It is forbiden to use the Matlab library function eul2rotm here. Pay attention to the unit: degree, as well as in trigonometric functions. a. Given R1, compute the successive w-u-w angles: angle w, angle u, angle_w1. R1 = [0.0629 0.9101 0.4096 -0.9559 -0.0629 0.2868; 0.2868 -0.4096; 0.8660]; angle_u = 0 angle w = 0 angle_w1 = 0 b. If the same R1 is realized by the rotations around body frame axes, as follows: First rotates around w by aw, then around v by av, and finally around u by au. Compute the three successive angles aw, av, and au, respectively. av = 0 au = 0 aw = 0 c. The body frame firstly coincides with the fixed frame, then it has the following successive rotations all about the body frame axis: Rotation about w by angle. W, rotation about u by angle u, rotation about w again by angle_w1, rotation about w by aw, rotation about v by av, and finally rotation about u by au. Compute the final rotation matrix R2. R2 = zeros(3,3) d. If the above R2 is only realized by three successive rotations by roll, pitch and yaw aroud the fixed frame axes x, y and z, compute the roll, pitch and yaw. pitch = 0 roll = 0 yaw = Ө
Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
Related questions
Question
Use matlab to solve the question
![2. Compute the equivalent Euler angles. WARNING: It is forbiden to use the Matlab library
function eul2rotm here.
Pay attention to the unit: degree, as well as in trigonometric functions.
a. Given R1, compute the successive w-u-w angles: angle w, angle u, angle_w1.
R1 = [0.0629
0.9101
0.4096
-0.9559
-0.0629
0.2868;
0.2868
-0.4096;
0.8660];
angle_u = 0
angle w = 0
angle_w1 = 0
b. If the same R1 is realized by the rotations around body frame axes, as follows:
First rotates around w by aw, then around v by av, and finally around u by au.
Compute the three successive angles aw, av, and au, respectively.
av = 0
au = 0
aw = 0](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe23ae763-28c2-4106-8a99-c21e032becaf%2Fac701a53-529f-4611-8a9f-795521df6e3a%2Fgoovoyo_processed.png&w=3840&q=75)
Transcribed Image Text:2. Compute the equivalent Euler angles. WARNING: It is forbiden to use the Matlab library
function eul2rotm here.
Pay attention to the unit: degree, as well as in trigonometric functions.
a. Given R1, compute the successive w-u-w angles: angle w, angle u, angle_w1.
R1 = [0.0629
0.9101
0.4096
-0.9559
-0.0629
0.2868;
0.2868
-0.4096;
0.8660];
angle_u = 0
angle w = 0
angle_w1 = 0
b. If the same R1 is realized by the rotations around body frame axes, as follows:
First rotates around w by aw, then around v by av, and finally around u by au.
Compute the three successive angles aw, av, and au, respectively.
av = 0
au = 0
aw = 0

Transcribed Image Text:c. The body frame firstly coincides with the fixed frame, then it has the following successive rotations
all about the body frame axis:
Rotation about w by angle. W, rotation about u by angle u, rotation about w again by angle_w1,
rotation about w by aw, rotation about v by av, and finally rotation about u by au. Compute the final
rotation matrix R2.
R2 = zeros(3,3)
d. If the above R2 is only realized by three successive rotations by roll, pitch and yaw aroud the fixed
frame axes x, y and z, compute the roll, pitch and yaw.
pitch = 0
roll = 0
yaw = Ө
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY