ABSTRACT

The last constructor is the state space constructor ss. Operating on sysl wi th ss causes the state space model to be generated along wi th names for the states, the inputs and the outputs. The default names for the states are x l , x2, . . . . The default names for the inputs are u l , u2 etc. and for the output are y l , y2, etc. Thus the l t i object has information in it other than the dynamics. In addition to the variable names, all l t i objects can be continuous or discrete (for continuous systems, they have a sample time o f zero), they can have a time delay associated wi th the input or output, and they can have a string o f data such as a description o f the system. To illustrate these, the state space model is formed using ss as follows:

» ss(sysl)

a =

x l x2 x l -7.00000 -3.00000 x2 4.00000 0

b = u l

x l 1.00000 x2 0

c =

x l x2 y l 1.00000 0

d = u l

y l 0

Continuous-time system.