|
Revision 265, 0.8 kB
(checked in by smidl, 17 years ago)
|
|
UI in matlab
|
| Line | |
|---|
| 1 | //Data generating system |
|---|
| 2 | system = { |
|---|
| 3 | type = "ArxDS"; |
|---|
| 4 | // ids of output |
|---|
| 5 | ychns = 2; |
|---|
| 6 | // ids of inputs |
|---|
| 7 | uchns = 1; |
|---|
| 8 | // regressor ids (only those in ychns or uchns) |
|---|
| 9 | ids = [1, 1, 1, 2]; |
|---|
| 10 | // regressor time delays |
|---|
| 11 | delays = [-1, -2, -3, -1]; |
|---|
| 12 | // theta |
|---|
| 13 | theta = [0.8, -0.3, 0.4, 1.0, |
|---|
| 14 | 0.0, 0.0, 0.0, 0.0]; |
|---|
| 15 | // offset |
|---|
| 16 | offset = [0.0, 0.0]; |
|---|
| 17 | //variance |
|---|
| 18 | r = [0.1, 0.0, |
|---|
| 19 | 0.0, 1.0]; |
|---|
| 20 | opt="L_theta"; |
|---|
| 21 | }; |
|---|
| 22 | |
|---|
| 23 | //store results |
|---|
| 24 | logger = { |
|---|
| 25 | type= "dirfilelog"; |
|---|
| 26 | dirname = "exp/arx_ui"; |
|---|
| 27 | maxlen = 1000; // |
|---|
| 28 | }; |
|---|
| 29 | |
|---|
| 30 | //estimation |
|---|
| 31 | estimator = { |
|---|
| 32 | type = "ARXest"; |
|---|
| 33 | ychns = [1]; |
|---|
| 34 | rgrid = [ 1, 1, 1, 2]; |
|---|
| 35 | delays = [-1, -2, -3, -1]; |
|---|
| 36 | |
|---|
| 37 | //optional fields |
|---|
| 38 | dV0 = [1e-3, 1e-5, 1e-5, 1e-5, 1e-5]; //default: 1e-3 for y, 1e-5 for rgr |
|---|
| 39 | nu0 = 8.; //default: rgrlen + 2 |
|---|
| 40 | frg = .990; // forgetting, default frg=1.0 |
|---|
| 41 | }; |
|---|
| 42 | |
|---|
| 43 | //experiment description |
|---|
| 44 | experiment:{ |
|---|
| 45 | ndat = 9000; |
|---|
| 46 | }; |
|---|