root/applications/bdmtoolbox/tutorial/userguide/lqg_control.m
@
950
Revision 934, 315 bytes (checked in by smidl, 14 years ago) |
---|
Line | |
---|---|
1 | clear all |
2 | |
3 | system.class ='mlnorm<chmat>'; |
4 | system.A = [1 1 1]; |
5 | system.const = [0]; |
6 | system.R = [1]; |
7 | system.rvc = RV({'y','u1','u2'},[1,1,1],[-1,0,0]); |
8 | system.rv = RV({'y'},[1],[0]); |
9 | |
10 | params.Qy = 1; |
11 | params.Qu = [1 0; 0 1]; |
12 | params.yr = 1; |
13 | params.horizon = 10; |
14 | |
15 | [L,rvc]=lqg_redesign(system,params); |
Note: See TracBrowser
for help on using the browser.