root/applications/bdmtoolbox/mex/mexBM/mexBM_from_setting.m @ 706

Revision 706, 0.6 kB (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1function [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
13S.posterior=struct(); % create empty structure for posterior
Note: See TracBrowser for help on using the browser.