MATLAB CONTROL SYSTEM TOOLBOX 9 Guia do Utilizador Página 146

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 649
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 145
4 Arrays of LTI Models
4-14
The first two colon indices ( ) select all I/O channels from the I/O dimensions
of
H. Thet hird indexof H refers to the first array dimension ( ),whilethefourth
index is for the second array dimension ( ).
Suppose the limits of the ranges of values for and are [0.66,0.76] and
[1.2,1.5], respectively. Enter these at the command line.
zeta = [0.66,0.75];
w = [1.2,1.5];
Since the four models have the same parametric structure, it’s convenient to
use two nested
for loops to construct t he LTI array.
for i = 1:2
for j = 1:2
H(:,:,i,j) = tf(w(j)^2,[1 2*zeta(i)*w(j) w(j)^2]);
end
end
H
now contains the four models in a 2-by-2 array. For example, to display the
transfer function in the (1,2) position of the array, type
H(:,:,1,2)
Transfer function:
2.25
-------------------
s^2 + 1.98 s + 2.25
:
ζ
ω
ζ
ω
Vista de página 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 648 649

Comentários a estes Manuais

Sem comentários