root/applications/bdmtoolbox/tutorial/userguide/laplace_example.m @ 968

Revision 968, 369 bytes (checked in by smidl, 14 years ago)

New mexes + corrected tutorial

Line 
1% load data created by the MpdfDS_example
2clear all
3load pdfds_results
4
5DS.class   = 'MemDS';
6DS.Data    = Data;
7DS.drv     = drv;
8
9%%%%%% Laplace estimator
10
11L.class = 'mexBM';
12L.object = mexLaplaceBM;
13L.object.rvy = y;
14L.object = validate(L.object);
15L.log_level = 'logmean';
16
17M=estimator(DS,{L});
18
19%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20% plot results
21plot(M.Est0_apost_mean_)
Note: See TracBrowser for help on using the browser.