beautypg.com

National Instruments NI MATRIXx Xmath User Manual

Page 112

background image

Chapter 6

Tutorial

© National Instruments Corporation

6-17

Xmath Model Reduction Module

Generate Figure 6-13:

[syscr,sysclr,hsv] = wtbalance(sys,sysc,

"input spec",2,sysv)

svalsrol = svplot(sys*syscr,w,{radians})

plot(svalsol, {keep})

f13=plot(wc,constr,{keep, !grid,

legend=["reduced","original","constrained"],

title="Open-Loop Gain with wtbal(), \"input spec\""})

Figure 6-13. Open-Loop Gain from wtbalance with "input spec"