Santhoshinii A/P Ramalingam A14KM0186 PROBLEM 10.3: Matlab
Santhoshinii A/P Ramalingam A14KM0186 PROBLEM 10.3: Matlab
-0.35+1.5i;
PROBLEM 10.3
-0.35-1.5i]
MATLAB %% Find the gains for given
%% PROB_10P3.M Bnew=B*g
%% The lateral Stability Augmentation k=place(A,Bnew,P)
A=[ -0.05 -0.003 -0.98 0.2; Anew=A-B*g*k
-1.0 -0.75 1.0 0; figure(1)
0.3 -0.3 -0.15 0; sys0=ss(A,B,C,D)
0 1 0 0] impulse(sys0)
B=[ 0 0; [y1,t1]=impulse(sys0);
1.7 -0.2; figure(2)
0.3 -0.6; sys1=ss(Anew,B,C,D)
0 0] impulse(sys1)
C=[0 0 0 1] [y2,t2]=impulse(sys1)
D=[0] title('New')
%% The relative authority of the ailerons and
rudder
g=[ 1.0;
0.33]
RESULTS
Figure 1
Figure 2