Specifications

Table Of Contents
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
:
ζ
ω
ζ
ω