Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone help write a MATLAB code for this control systems problem?? Thanks y

ID: 2268373 • Letter: C

Question

Can someone help write a MATLAB code for this control systems problem?? Thanks you!!!!

Problem 2: In the notes the coefficient matrices of the linear model of the satellite control problem are 0 0 0 30% 20% 1/m 0 0 10 0 0 A= 0 0 0 Compute the transfer function C(Is A) B and the impulse response Ce "B for this system for the case m=1, ro-1, and ab general. You can use a symbolic computing tool in the evaluations if you wish. What can you say about the impulse response? Is it stable, unstable,...?

Explanation / Answer

matlab code:

syms wo s t
A=[0 1 0 0;3*wo^2 0 0 2*wo;0 0 0 1;0 -2*wo 0 0];
B=[0 0;1 0;0 0;0 1];
C=[1 0 0 0;0 0 1 0];
I=[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1];
g=C*inv(s*I-A)*B
imp=C*exp(A*t)*B

result

g =

[ 1/(s^2 + wo^2), (2*wo)/(s^3 + s*wo^2)]
[ -(2*wo)/(s^3 + s*wo^2), (s^2 - 3*wo^2)/(s*(s^3 + s*wo^2))]


imp =

[ exp(t), 1]
[ 1, exp(t)]

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote