root/applications/dual/SIDP/Kopie (2) - finalni implementace/get_next.m
@
1153
Revision 1113, 200 bytes (checked in by zimamiro, 14 years ago) |
---|
Line | |
---|---|
1 | function [y b P]=get_next(state,u,system,seed) |
2 | y=state(1)+system.b*u+system.sigma*seed; |
3 | K=u*state(3)/(state(3)*u^2+system.sigma^2); |
4 | b=state(2)+K*(y-state(1)-state(2)*u); |
5 | P=(1-K*u)*state(3); |
6 | end |
Note: See TracBrowser
for help on using the browser.