root/applications/bdmtoolbox/tutorial/userguide/laplace_example.m
@
1408
Revision 968, 369 bytes (checked in by smidl, 14 years ago) |
---|
Line | |
---|---|
1 | % load data created by the MpdfDS_example |
2 | clear all |
3 | load pdfds_results |
4 | |
5 | DS.class = 'MemDS'; |
6 | DS.Data = Data; |
7 | DS.drv = drv; |
8 | |
9 | %%%%%% Laplace estimator |
10 | |
11 | L.class = 'mexBM'; |
12 | L.object = mexLaplaceBM; |
13 | L.object.rvy = y; |
14 | L.object = validate(L.object); |
15 | L.log_level = 'logmean'; |
16 | |
17 | M=estimator(DS,{L}); |
18 | |
19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
20 | % plot results |
21 | plot(M.Est0_apost_mean_) |
Note: See TracBrowser
for help on using the browser.