root/applications/bdmtoolbox/tutorial/userguide/mexpdf_example.m
@
1072
Revision 939, 214 bytes (checked in by smidl, 14 years ago) |
---|
Line | |
---|---|
1 | f.class = 'mexEpdf'; |
2 | f.object = mexLaplace; |
3 | f.object.mu =12; |
4 | f.object.b = 1; |
5 | |
6 | m=epdf_mean(f); |
7 | v=epdf_variance(f); |
8 | |
9 | figure(1); |
10 | subplot(1,2,1); |
11 | epdf_1dplot(f); |
12 | |
13 | subplot(1,2,2) |
14 | sp=epdf_sample_mat(f,1000); |
15 | hist(sp,100) |
Note: See TracBrowser
for help on using the browser.