0% found this document useful (0 votes)
32 views2 pages

Clear w1 (200:200:2000) w2 (1:1:10) A - w1 (0 0 w1) A - w2 (0 w2 0) Alpha Cross (A - w1, A - w2) Plot (Norm (A - w2), Norm (Alpha) ,) Hold

The document contains examples of calculating cross products between vectors and angular velocities. It demonstrates calculating the cross product between two angular velocities to get the angular acceleration, and plotting the relationship between angular velocity and angular acceleration as the first angular velocity is varied.

Uploaded by

infaredmailman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

Clear w1 (200:200:2000) w2 (1:1:10) A - w1 (0 0 w1) A - w2 (0 w2 0) Alpha Cross (A - w1, A - w2) Plot (Norm (A - w2), Norm (Alpha) ,) Hold

The document contains examples of calculating cross products between vectors and angular velocities. It demonstrates calculating the cross product between two angular velocities to get the angular acceleration, and plotting the relationship between angular velocity and angular acceleration as the first angular velocity is varied.

Uploaded by

infaredmailman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

>> w1=[0 0 60*pi]

w1 =

188.4956

>> w2 = [0 .2*pi 0]
w2 = 0 0.6283

>> alpha = cross(w2,w1)


alpha = 118.4353

_____________________________________________________________________________________
clear all
for w1 = [200:200:2000]
for w2 = [1:1:10]
a_w1 = [0 0 w1];
a_w2 = [0 w2 0];
alpha = cross(a_w1,a_w2);
plot(norm(a_w2), norm(alpha), 'o');
hold on
end
end

>> w1 = [ 5 0 0]
w1 =

>> w2 = [0 0 4]
w2 =

>> r = 0.25*[cos(30) sin(30) 0]


r = 0.0386 -0.2470

>> v=cross((w1+w2), r)
v = -0.5000 0.8660 0.6250
>> alpha = [0 norm(w1)*norm(w2) 0]
alpha =

0 -20

>> a = cross(alpha, r) + cross((w1+w2),v)


a = -3.4641 -5.1250 8.6603
_____________________________________________________________________________________
clear all
w2 = [0 0 4];
r = 0.25*[cos(30) sin(30) 0];
for w1 = [1:1:100]
a_w1 = [0 0 w1];
v=cross((w1+w2), r);
alpha = [0 -1*norm(w1)*norm(w2) 0];
a = cross(alpha, r) + cross((a_w1+w2),v);
plot(norm(a_w1),norm(a), 'o');
hold on
end

You might also like