4.1. THE HIMAT EXAMPLE 129
Figure 4.2: Interconnection structure for the himat design example
The inputs are the elevon position and the canard position. The outputs that are to be
kept small are angle-of-attack (α) and pitch angle (θ).
The commands required to enter the state-space description are simply matrix
assignments for each of A, B, C and D. Note that the states, inputs and outputs are
named.
a = [-0.0226, -36.6000, -18.9000, -32.1000;...
0, -1.9000, 0.9830, 0;...
0.0123, -11.7000, -2.6300, 0;...
0, 0, 1.0000, 0]
b = [ 0, 0;...
-0.4140, 0;...
-77.8000, 22.4000;...
0, 0]
c = [0, 57.3000, 0, 0;...
0, 0, 0, 57.3000]
d = zeros(2,2)
himat = system(a,b,c,d)
comment himat "Himat vehicle state-space model"
states = ["forward speed";"angle-of-attack";"pitch rate";"pitch
angle"]
inputs = ["elevon";"canard"]
outputs = ["angle-of-attack";"pitch angle"]
himat = system(himat,{stateNames=states,inputNames=inputs,...
outputNames=outputs})?