root/applications/bdmtoolbox/tutorial/estimation/mexbm_test.m @ 573

Revision 573, 0.7 kB (checked in by smidl, 15 years ago)

preparatory stuff for #19

Line 
1y = struct('class','RV','names',{{'y'}});
2u = struct('class','RV','names',{{'u'}});
3yu = struct('class','RV','names',{{'y','u'}});
4rgr= struct('class','RV',...
5        'names',{{'y', 'y','y','u'}},...
6                'times' , [-1, -2, -3, -1]);
7
8%Data generating system
9system = struct(...
10        'class', 'ArxDS',...
11        'y', struct('class','RV','names',{{'y', 'u'}}),...
12        'u',  struct('class','RV','names',{{}}),...
13        'rgr', rgr,...
14        'theta', [0.8, -0.3, 0.4, 1.0;
15              0.0, 0.0, 0.0, 0.0],...
16        'offset',  [0.0, 0.0],...
17        'r', [0.1, 0.0; 0.0, 1.0],...
18        'opt', 'L_theta');
19
20estimators = {
21        struct('class','mexBM',...
22        'name', 'testBM',...
23        'drv', y };
24
25%experiment description
26experiment.ndat = 9000;
27
28M=estimator(system,estimators,experiment);%,logger);
Note: See TracBrowser for help on using the browser.