root/applications/dual/SIDP/transformace(3)/get_next.m
@
1105
| Revision 1105, 319 bytes (checked in by zimamiro, 15 years ago) |
|---|
| Rev | Line | |
|---|---|---|
| [1105] | 1 | function [y b P]=get_next(state,u,system,seed) |
| 2 | %OK | |
| 3 | %prostor hyperstavu - kazdy bod ma souradnice (y, b, P) | |
| 4 | ||
| 5 | %realization | |
| 6 | y=state(1)+system.b*u+system.sigma*seed; | |
| 7 | ||
| 8 | ||
| 9 | %kalman | |
| 10 | K=u*state(3)/(state(3)*u^2+system.sigma^2); | |
| 11 | b=state(2)+K*(y-state(1)-state(2)*u); | |
| 12 | P=(1-K*u)*state(3); | |
| 13 | ||
| 14 | end |
Note: See TracBrowser
for help on using the browser.
