Show
Ignore:
Timestamp:
08/20/09 00:54:44 (15 years ago)
Author:
smidl
Message:

bdmtoolbox adapted to shared_ptr, merger_grid (partially) working,

Location:
applications/bdmtoolbox/tutorial
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/tutorial/arx_mex_test.cfg

    r357 r568  
    1919 
    2020        //optional fields 
    21         dV0 = [1e-3, 1e-5, 1e-5, 1e-5, 1e-5]; //default: 1e-3 for y, 1e-5 for rgr 
     21        dV0 = matrix(5,1,[1e-3, 1e-5, 1e-5, 1e-5, 1e-5]); //default: 1e-3 for y, 1e-5 for rgr 
    2222        //nu0 = 8.;      //default: rgrlen + 2 
    2323        frg = .9991;    // forgetting, default frg=1.0 
  • applications/bdmtoolbox/tutorial/merging/merge_grid.m

    r409 r568  
    1010 
    1111% support 
    12 support.grid={[-5,5]}; 
    13 support.nbins=[100]; 
     12support.class='rectangular_support'; 
     13support.ranges={[-5,5]}; 
     14support.gridsizes=[100]; 
    1415 
    1516% 1D 
     
    4950type=0; 
    5051if type==0 
    51     support2.grid={[-5,5],[0.001,5]}; 
    52     support2.nbins=[10,10]; 
     52    support2.class='rectangular_support'; 
     53    support2.ranges={[-5,5],[0.001,5]}; 
     54    support2.gridsizes=[10,10]; 
    5355else 
    5456    support2=struct('pdf',... 
  • applications/bdmtoolbox/tutorial/merging/pdfs.m

    r409 r568  
    4040Ga_ =struct('class','mepdf','epdf',Ga); % convert f(a) to f(a|) 
    4141Gba = struct('class','mprod',  'mpdfs',{{Gb_a,Ga_}}); 
     42 
     43pd.Ga=Ga; 
     44pd.N1a=N1a; 
     45pd.N1b=N1b; 
     46pd.N2a=N2a; 
     47pd.Nab=Nab; 
     48pd.GiW=GiW; 
     49pd.Gba=Gba; 
     50