MATLAB CONTROL SYSTEM TOOLBOX 9 Uživatelská příručka Strana 147

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 649
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 146
Building LTI Arrays
4-15
For the purposes of efficient computation, you can initialize an LTI array to
zero, and then reassign the entire array to the values you w ant to specif y. The
general syntax for zero assignment of LTI arrays is
To initialize
H in the above example to ze ro, type
H = tf(zeros(1,1,2,2));
before you implement the nested for loops.
Building LTI Arrays Using the stack Function
Another way to build LTI arrays is using the function stack. This function
operates on single LTI m odels as well as LTI arrays. It concatenates a list of
LTI arrays or single LTI models only along the array dimension. The general
syntax for
stack is
stack(Arraydim,sys1,sys2...)
where
Arraydim is the array dimension along which to concatenate the LTI models
or arrays.
sys1, sys2, ... are the LTI models or LTI arrays to be concatenated.
Lengths of the array dimensionsLengths of the output/input dimensions
The maximum number of states in any model in the LTI array
sys = tf(zeros(Ny,Nu,S1,...,SK))
sys = zpk(zeros(Ny,Nu,S1,...,SK))
sys = ss(zeros(Ny,Nu,S1,...,SK,Nx))
sys = frd(zeros(Ny,Nu,Nf,S1,...,SK))
The number of frequency vectors in the FRD
Zobrazit stránku 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 648 649

Komentáře k této Příručce

Žádné komentáře