root/applications/dual/SIDP/Kopie (2) - finalni implementace/get_next.m @ 1249

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