Quaternion Rotation

Verified

Added on  2023/02/01

|4
|598
|20
AI Summary
This document explains quaternion rotation and provides examples of rotations about the x-axis and z-axis. It also discusses composite quaternions and their representation of rotation angles and axes.

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Solution
Q8)
a)
uv =0
u=(a ,b ,c )
If the vector matrix is scales by 2
u 1=2 u=2(a , b , c)
¿( 2a ,2 b , 2 c)
v=(0.5 ,0.1 , 0.9)
uv =[0.5 ( 2 a )0.1 ( 2 b ) +0.9 ( 2 c ) ]=0
Let
a = 2
b= 1
substituting
[0.5 ( 22 )0.1 ( 21 )+ 0.9 ( 2c ) ]=0
2-0.2 + 1.8c = 0
1.8c = -1.8
C = -1.0
To confirm
[0.5 ( 22 )0.1 ( 21 )+ 0.9 ( 21 ) ]=0
u=(2 , 1 ,1)
b)
Projuv = (2, 1, -1)(0.5, -0.1, 0.9)
= (2*0.5, -0.1*1, -1*0.9)
= (1, -0.1, -0.9)

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
c)
a= ( 0.5 ,0.1 , 0.9)
0.52+0.12+ 0.92
r =u+ v = (2, 1, -1) + (0.5, -0.1, 0.9)
= (2.5, 0.9, -0.1)
r' obtained by reflection of rthe plane
r '=r2 (a . r)a
= (2.5, 0.9, -0.1) - 2 [ ( 0.5 ,0.1 , 0.9 )
1.0344 ( 2.5,0 .9 ,0.1 ) ][ ( 0.5 ,0.1, 0.9 )
1.0344 ]
= (2.5, 0.9, -0.1) – 1.869187947(0.625, 0.009, -0.081)
= (1.331, 0.883, 0.0515)
Q9)
q = ¿
θ=700v=(0 , 3 , 4)
||v|| = 02 +32 +42=5
The unit quaternion, q = [ 3+ 9
3 ,
3 9
3 (0 , 3 , 4)
5 ]
= [ 6
3 , 0 ,0 ]
Q10) Answer the following questions
a) What is the quaternion q1 that represents the rotation of 270 degree about the x-axis
The fixed axis is x and angle of rotation θ=2700
Document Page
That is, u=
[1
0
0 ]
Sin(270/2)u= 1
2 [1
0
0 ]
Sin(135) = 1
2 [1
0
0 ]
Cos(270/2) = cos(135) = 1
2 [1
0
0 ]Therefore,
q1 = [ 1
2 , 1
2 , 0 , 0 ]
b) What is the quaternion q2 that represents the rotation of 270 degree about the z-axis
The fixed axis is z and angle of rotation θ=2700
That is, u=
[0
0
1 ]
Sin(-270/2) u=1
2 [ 1
0
0 ]
Sin(135) = 1
2 [0
0
1 ]
Cos(270/2) = cos(135) = 1
2 [0
0
1 ]Therefore,
q2 = [1
2 , 0 ,0 , 1
2 , ]
c) What rotation does the composite quaternion q = q1q2 represents? Write your answer with
specifying the rotation angel and axis of this composite quaternion
Document Page
q = [ 1
2 , 1
2 , 0 , 0 ]
[ 1
2 , 0 , 0 , 1
2 , ]
q = [ 1
2 ,0 ,0 , 0 ]
The angle of rotation 300 about y-axis
1 out of 4
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]