National Instruments ni matrixx xmath 用户手册

下载
页码 127
Chapter 6
Tutorial
© National Instruments Corporation
6-15
Generate Figure 6-11:
tvec=0:(140/99):140;
compare(syscl,sysclr,tvec,{type=7})
f11=plot({keep,legend=["original","reduced"]})
Figure 6-11.  Step Response with wtbalance
wtbalance
 with the option 
"input spec"
. Evidently, there is little difference between this and the 
result with the option 
"match"
. One notices marginally better matching in 
the region of interest (0.1 to 5 rad per second) at the expense of matching 
at other frequencies. The weighted Hankel singular values again indicate 
that it is reasonable to seek a second order controller.