106 CHAPTER 3. FUNCTIONAL DESCRIPTION OF Xµ
Bounds on the H
∞
norm are returned as out. An estimate of the frequency where the
norm is achieved is returned as omega. Further control of the iteration is available via
keywords.
The following example calculates the H
2
and H
∞
norms of each of the closed loop
systems arising from the previous example. Notice that G2 has the minimum
H
2
norm and Ginf has the minimum H
∞
norm. We can also see that the Ginf has a
slightly lower norm than the bound guaranteed from the hinfsyn function call.
# Calculate the norms of each closed loop system.
Ginf = starp(p,Kinf)
G2 = starp(p,K2)
hinfnorm(Ginf)?
ans (a column vector) =
1.17032
1.16915
hinfnorm(G2)?
ans (a column vector) =
36.2138
36.1776
h2norm(Ginf)?
ans (a scalar) = 2.86197
h2norm(G2)?
ans (a scalar) = 2.78655