Changeset 622 for applications/bdmtoolbox/tutorial
- Timestamp:
- 09/16/09 22:52:57 (15 years ago)
- Location:
- applications/bdmtoolbox/tutorial
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/tutorial/arx_mex_test.cfg
r568 r622 1 1 //Data generating system 2 system = { type="external"; filename="arx_test.cfg"; path="system";}; 2 system = { type="external"; 3 filename="arx_test.cfg"; 4 path="system"; 5 }; 3 6 4 7 //store results … … 6 9 type= "mexlog"; 7 10 maxlen = 90; // 8 11 //dirname = "exp/ax"; 9 12 }; 10 13 11 14 //estimation 12 15 estimator = { 13 type = "ARX"; 14 y = {type="RV"; names=("y"); }; 16 type = "ARX"; 17 y = {type="RV"; 18 names= ( "y" ); 19 }; 15 20 rgr = {type="RV"; 16 names = ("y","y","y","u");17 18 };21 names = ( "y","y","y","u" ); 22 times = [-1, -2, -3, -1]; 23 }; 19 24 20 25 //optional fields 21 dV0 = matrix (5,1,[1e-3, 1e-5, 1e-5, 1e-5, 1e-5]); //default: 1e-3 for y, 1e-5 for rgr26 dV0 = matrix ( 5,1,[1e-3, 1e-5, 1e-5, 1e-5, 1e-5] ); //default: 1e-3 for y, 1e-5 for rgr 22 27 //nu0 = 8.; //default: rgrlen + 2 23 28 frg = .9991; // forgetting, default frg=1.0 … … 25 30 26 31 //experiment description 27 experiment: {32 experiment: { 28 33 ndat = 90; 29 34 }; -
applications/bdmtoolbox/tutorial/arx_test.cfg
r357 r622 2 2 system = { 3 3 class = "ArxDS"; 4 y = {class="RV"; names=("y", "u");}; 5 u = {class="RV"; names=(); }; 4 y = {class="RV"; 5 names= ( "y", "u" ); 6 }; 7 u = {class="RV"; 8 names=(); 9 }; 6 10 rgr = {class="RV"; 7 names = ("y","y","y","u");8 9 };11 names = ( "y","y","y","u" ); 12 times = [-1, -2, -3, -1]; 13 }; 10 14 //AR parameters 11 theta = ( 2,4,[0.8, -0.3, 0.4, 1.0,12 0.0, 0.0, 0.0, 0.0]);15 theta = ( 2,4,[0.8, -0.3, 0.4, 1.0, 16 0.0, 0.0, 0.0, 0.0] ); 13 17 // offset 14 18 offset = [0.0, 0.0]; 15 19 //variance 16 r = ( 2,2,[0.1, 0.0,17 0.0, 1.0] );20 r = ( 2,2,[0.1, 0.0, 21 0.0, 1.0] ); 18 22 // log also theta 19 23 opt="L_theta"; … … 30 34 estimator = { 31 35 class = "ARX"; 32 y = {class="RV"; names=("y"); }; 36 y = {class="RV"; 37 names= ( "y" ); 38 }; 33 39 rgr = {class="RV"; 34 names = ("y","y","y","u");35 36 };40 names = ( "y","y","y","u" ); 41 times = [-1, -2, -3, -1]; 42 }; 37 43 38 44 //optional fields … … 43 49 44 50 //experiment description 45 experiment: {51 experiment: { 46 52 ndat = 9000; 47 53 };