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

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...
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...
Please solve this with only transformations (I.E. Translation matrices, Reflection matrices, Rotation matrices. You need to...
Please solve this with only transformations (I.E. Translation matrices, Reflection matrices, Rotation matrices. You need to use matrices (linear algebra). Please only do this if you know what I mean when I say "transformations using matrices." A 2-D polygon has the following vertices in (x, y): A (2, 1), B (1, 2), C (2, 3), D (3, 3), E (4, 2), and F (3, 1). The polygon is taken through a set of 3 transformations in the given order: 1....
Why the Earth rotation induces weather conditions around us? Please, for better understanding I need a...
Why the Earth rotation induces weather conditions around us? Please, for better understanding I need a detailed description. May be some examples in nature, schemes, and some description based on basic relations. I want to understand it very well. Would be nice to get some additional sources to read (books or articles).
Please i need this answered in 10 minutes!! 5. Explain how a technological advance can contribute...
Please i need this answered in 10 minutes!! 5. Explain how a technological advance can contribute to economic growth. Also, explain how better-quality education for young people today can increase economic growth in the future. 6. Suppose that nominal gross domestic product (GDP) in the United States grew by 6%. Given that prices increased by 2% and the population grew by 1%, How much did per capita real GDP grow? In other words, what Is the economic growth rate for...
Ch7/Financial Accounting Please, I need to get answered to the following:( 100 words for each part)....
Ch7/Financial Accounting Please, I need to get answered to the following:( 100 words for each part). 1. Describe physical controls, independent internal verification, and human resource controls. For each internal control principle, explain what weaknesses are being prevented for the company. 2. “Describe” the Ch6 – inventory turnover and days in inventory ratios. Explain the importance of each ratio and how each ratio assists the investor in evaluating a company’s performance.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT