MATLAB CONTROL SYSTEM TOOLBOX 9 Dokumentacja Strona 126

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 591
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 125
5 Arrays of LTI Models
5-14
The first two colon indices ( ) select all I/O channels from the I/O dimensions
of
H.Thethird index ofH refers to the firstarray dimension( ),while the fourth
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 the 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
:
ζ
ω
ζ
ω
Przeglądanie stron 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 590 591

Komentarze do niniejszej Instrukcji

Brak uwag