root/applications/bdmtoolbox/tutorial/userguide/multinom_example.m
@
1268
Revision 1082, 189 bytes (checked in by suzdalev, 14 years ago) | |
---|---|
|
Line | |
---|---|
1 | f=mexMultiNomBM |
2 | f.PXX=[0.8 0.2; |
3 | 0.3 0.7]; |
4 | f.PYX=[0.4 0.6; |
5 | 0.2 0.8]; |
6 | f.p0=[0.5;0.5]; |
7 | |
8 | f=f.validate |
9 | |
10 | |
11 | f.apost_pdf.mean |
12 | |
13 | for t=1:10 |
14 | f=f.bayes(mod(t,2)+1); |
15 | f.apost_pdf.mean |
16 | end |
Note: See TracBrowser
for help on using the browser.