root/applications/bdmtoolbox/tutorial/userguide/lqg_control.m @ 1261

Revision 934, 315 bytes (checked in by smidl, 14 years ago)

use clear all + new mex

Line 
1clear all
2
3system.class ='mlnorm<chmat>';
4system.A     = [1 1 1];
5system.const = [0];
6system.R     = [1];
7system.rvc   = RV({'y','u1','u2'},[1,1,1],[-1,0,0]);
8system.rv    = RV({'y'},[1],[0]);
9
10params.Qy    = 1;
11params.Qu    = [1 0; 0 1];
12params.yr    = 1;
13params.horizon = 10;
14
15[L,rvc]=lqg_redesign(system,params);
Note: See TracBrowser for help on using the browser.