Question

In: Electrical Engineering

Need this answered URGENTLY, please. Animate the arbitrary rotation (attitude change) of a pyramid by MATLAB....

Need this answered URGENTLY, please.

Animate the arbitrary rotation (attitude change) of a pyramid by MATLAB.

You need to use the DCM kinematic equation (DCM differential equation)

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

Solutions

Expert Solution

YOUR CODE:

OUTPUT OF YOUR CODE:

UPDATED CODE FOR PIRAMID:

OUTPUT FOR UPDATED CODE :

I AM SHOWING SCREEN SHOTS OF OUTPUT VIDEO:


Related Solutions

Need these questions answered please. 9. Earth’s energy budget 10. Earth/Sun relationship (rotation, orbit, seasons, daylength,...
Need these questions answered please. 9. Earth’s energy budget 10. Earth/Sun relationship (rotation, orbit, seasons, daylength, etc.) (noon sun angles – will have to calculate several) 11. Solstice vs. Equinox + Aphelion vs. Perihelion 12. Electromagnetic spectrum 13. Shortwave vs. longwave radiation
Please I need it urgently “Hassen Constructions SAOG”, the company is situated in Al Khuwair. The...
Please I need it urgently “Hassen Constructions SAOG”, the company is situated in Al Khuwair. The organization is specialised in the manufacturing of building materials that are used in construction sites. Currently the company’s capital structure (total capital) is ungeared. However, the owners of Hassen constructions is planning to change their capital structure into a leverage (geared) capital structure as they believe having a debt component in its capital structure will be beneficial to the organization. The company total capital...
Need urgently, please do it as soon as possible i have only 40 min for this...
Need urgently, please do it as soon as possible i have only 40 min for this task ( Doing in Java). Question no 1: Solve completely. a) Define the following concepts with proper syntax, where required. Also, write why we use these concepts (for last three bullets).  Execution process of java program  Copy constructor  Instance and class variable  Access specifiers b) Write a program to print the area of a rectangle by creating a class named...
NEED ASAP PLEASE IF THIS CANNOT BE ANSWERED WITHIN 1 HOUR TO 1.5 HOURS MAX PLEASE...
NEED ASAP PLEASE IF THIS CANNOT BE ANSWERED WITHIN 1 HOUR TO 1.5 HOURS MAX PLEASE DO NOT DO I DON'T NEED PROBLEMS 1-4 PLEASE ANSWER 5-7 ONLY. ONLY LISTED 1-4 AS A REFERENCE. This should be in Type of application :Console application Language used :C# Program.cs : Problem 1: (15 pts) Write a C# console program that continually asks the user "Do you want to enter a name (Y/N)? ". Use a "while" loop to accomplish this. As long...
For the state of New Mexico and Colorado, I need the following questions answered please: a)...
For the state of New Mexico and Colorado, I need the following questions answered please: a) To what extent does New Mexico and Colorado follow the rulings of the Multistate Tax Commission? b) Does New Mexico and Colorado adopt pertinent changes to the Internal Revenue Code? If so, as of what date? c) Is the tax effectiveness of a passive investment company limited in some way? Has New Mexico and Colorado adopted the Geoffrey approach to the taxation of income...
NEED THESE ANSWERED IMMEDIATELY PLEASE! There are several possible ways of intervening to prevent overweight in...
NEED THESE ANSWERED IMMEDIATELY PLEASE! There are several possible ways of intervening to prevent overweight in adolescents, including clinical intervention and public health intervention. What is the difference between clinical intervention and public health intervention? What are the potential difficulties associated with each approach?
Please I need this to be done in Java, can I have it answered by anonymous...
Please I need this to be done in Java, can I have it answered by anonymous who answered my last question regarding java? Thank you You will need to implement a specific algorithm implementation to match the class definition AND implement a unit test using JUnit that conforms the specific naming convention. Algorithm: Inputs: integers m and n , assumes m and n are >= 1 Order is not important for this algorithm Local variables integers: remainder Initialize: No initialization...
I need all the qustions answered if possible please home / study / business / accounting...
I need all the qustions answered if possible please home / study / business / accounting / accounting questions and answers / silven industries, which manufactures and sells a highly successful line of summer lotions ... Your question has been answered Let us know if you got a helpful answer. Rate this answer Question: Silven Industries, which manufactures and sells a highly successful line of summer lotions and in... Silven Industries, which manufactures and sells a highly successful line of...
I please need assistance with the following question " of this question partially answered: Question: Digital...
I please need assistance with the following question " of this question partially answered: Question: Digital Solutions, Inc., manufactures two component parts for the television industry:  Voltag... What price should Digital Solutions charge for the New Voltage Regulator, and what next steps should Digital Solutions take regarding the New Voltage Regulator? 7) Provide a recommendation given the case facts and your analysis. 8) Pay attention to detail within your answers in terms of spelling, grammar, and formatting.   see the...
**only need part c and d answered below. It is in bold. In java, please implement...
**only need part c and d answered below. It is in bold. In java, please implement the classes below. Each one needs to be created. Each class must be in separate file. The expected output is also in bold. I have also attached the driver for part 4. 2. The StudentRoster class should be in the assignment package. a. There should be class variable for storing multiple students (the roster), semester and year. All class variables of the Student class...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT