MATLAB CONTROL SYSTEM TOOLBOX 9 Guide de l'utilisateur Page 611

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 649
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 610
step
11-221
All systems must have the same number of inputs and outputs b ut may
otherwise be a mix of continuous- and discrete-time systems. This syntax is
useful to compare the step responses of multiple s ystems.
You can also specify a distinctive color, linestyle, and/or marker for each
system. For example,
step(sys1,'y:',sys2,'g--')
plots the step response of sys1 with a dotted yellow line and the step response
of
sys2 with a green dashed line.
When i nvoked with output arguments,
[y,t] = step(sys)
[y,t,x] = step(sys) % for state-space models only
y = step(sys,t)
return the output response y, the time vector t used for simulation, and the
state trajectories
x (for state-space models only). No plot is drawn on the
screen. For single-input systems,
y hasasmanyrowsastimesamples(length
of
t), and as many columns as outputs. In the multi-input ca se, the step
responses of each input channel a re stacked up along the third dimension of
y.
The dimensions of
y are then
and
y(:,:,j) gives the response to a unit step command injected in the jth
input channel. Similarly , the dimensions of
x are
Example Plot the step response of the following second-order state-space model.
length of
t()
number of outputs
()
number of inputs
()××
length of
t()
number of states
()
number of inputs
()××
Vue de la page 610
1 2 ... 606 607 608 609 610 611 612 613 614 615 616 ... 648 649

Commentaires sur ces manuels

Pas de commentaire