ASAP NEED TO BE DONE!
Animate the arbitrary rotation (attitude change) of a pyramid byMATLAB.
You need to use the DCM kinematic equation (DCM differentialequation derived in our class)
This is the code example given:
figure
x = linspace(0,4*pi,2000);
for k = 1:length(x)
grid on
plot3(0,0,0);
hold on;
axis([0 4*pi -1 1 -1 1]);
view(45,45);
plot3([0 x(k)],[0 sin(x(k))],[0 cos(x(k))]);
hold off;
pause(0.01);
end


We’re not allowed to use W(B)=[1 1 1] as above, since it wasused in this example.





欧ら。 313 tols) 4 . 4.5 ex) s45 Show
PayPal Gateway not configured
PayPal Gateway not configured