Revision 706, 0.6 kB
(checked in by smidl, 15 years ago)
|
eol-native
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | function [S]=mexBM_from_setting(S,S0); |
---|
2 | % function creates statistics "S" from given structure S0. |
---|
3 | % |
---|
4 | % This example is extremely simple - BM does not have any attributes of its own |
---|
5 | % |
---|
6 | % Compulsory attributes are: |
---|
7 | % S0.name = "..."; % optional name |
---|
8 | % S0.drv = struct('names',...,'sizes',...) % ID of input signals (see object RV) |
---|
9 | % S0.rv = struct('names',...,'sizes',...) % ID of posterior values (see object RV) |
---|
10 | % S0.posterior = struct('mu0',...) % initial value of statistics (is processed by mexEpdf) |
---|
11 | |
---|
12 | |
---|
13 | S.posterior=struct(); % create empty structure for posterior |
---|