139 | | //! load basic elements of Kalman from structure |
140 | | /*! \code |
141 | | class = 'KalmanFull'; |
142 | | A = []; // Matrix A |
143 | | B = []; // Matrix B |
144 | | C = []; // Matrix C |
145 | | D = []; // Matrix D |
146 | | Q = []; // Matrix Q |
147 | | R = []; // Matrix R |
148 | | prior = struct('class','epdf_offspring'); // Prior density - will be converted to gaussian |
149 | | yrv = RV('some_names'); // Description of required observations |
150 | | rvc = RV('some_names'); // Description of required inputs |
151 | | \endcode |
152 | | |
153 | | */ |
| 139 | |
| 140 | /*! Create object from the following structure |
| 141 | |
| 142 | \code |
| 143 | class = 'KalmanFull'; |
| 144 | prior = configuration of bdm::epdf; % prior density represented by any offspring of epdf, bdm::epdf::from_setting - it will be converted to gaussian |
| 145 | --- inherited fields --- |
| 146 | bdm::StateSpace<sq_T>::from_setting |
| 147 | bdm::BM::from_setting |
| 148 | \endcode |
| 149 | */ |
| 289 | |
| 290 | /*! Create object from the following structure |
| 291 | |
| 292 | \code |
| 293 | class = 'EKFfull'; |
| 294 | |
| 295 | OM = configuration of bdm::diffbifn; % any offspring of diffbifn, bdm::diffbifn::from_setting |
| 296 | IM = configuration of bdm::diffbifn; % any offspring of diffbifn, bdm::diffbifn::from_setting |
| 297 | dQ = [...]; % vector containing diagonal of Q |
| 298 | dR = [...]; % vector containing diagonal of R |
| 299 | --- optional fields --- |
| 300 | mu0 = [...]; % vector of statistics mu0 |
| 301 | dP0 = [...]; % vector containing diagonal of P0 |
| 302 | -- or -- |
| 303 | P0 = [...]; % full matrix P0 |
| 304 | --- inherited fields --- |
| 305 | bdm::BM::from_setting |
| 306 | \endcode |
| 307 | If the optional fields are not given, they will be filled as follows: |
| 308 | \code |
| 309 | mu0 = [0,0,0,....]; % empty statistics |
| 310 | P0 = eye( dim ); |
| 311 | \endcode |
| 312 | */ |
367 | | |
| 395 | |
| 396 | /*! Create object from the following structure |
| 397 | |
| 398 | \code |
| 399 | class = 'EKFCh'; |
| 400 | OM = configuration of bdm::diffbifn; % any offspring of diffbifn, bdm::diffbifn::from_setting |
| 401 | IM = configuration of bdm::diffbifn; % any offspring of diffbifn, bdm::diffbifn::from_setting |
| 402 | dQ = [...]; % vector containing diagonal of Q |
| 403 | dR = [...]; % vector containing diagonal of R |
| 404 | --- optional fields --- |
| 405 | mu0 = [...]; % vector of statistics mu0 |
| 406 | dP0 = [...]; % vector containing diagonal of P0 |
| 407 | -- or -- |
| 408 | P0 = [...]; % full matrix P0 |
| 409 | --- inherited fields --- |
| 410 | bdm::BM::from_setting |
| 411 | \endcode |
| 412 | If the optional fields are not given, they will be filled as follows: |
| 413 | \code |
| 414 | mu0 = [0,0,0,....]; % empty statistics |
| 415 | P0 = eye( dim ); |
| 416 | \endcode |
| 417 | */ |