- Timestamp:
- 10/29/08 12:59:37 (16 years ago)
- Location:
- doprava
- Files:
-
- 3 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
doprava/k1.cpp
r195 r196 72 72 xt = fxu.eval(xtm,ut); 73 73 dt = hxu.eval(xt,ut); 74 xtm = xt; //save xt for the next step 74 75 75 76 //ESTIMATE -
doprava/model.h
r195 r196 25 25 vec xk=zeros ( RVstav.count() ); 26 26 27 xk ( 0 ) = 2* x0(1) - 1.8* x0(2); // vycucane z prstu27 xk ( 0 ) = 0.2* x0(1) - 0.1* x0(2)+ u0(0); // vycucane z prstu 28 28 xk ( 1 ) = x0( 0); 29 29 xk ( 2 ) = x0(1); … … 38 38 if (full) { // priznak full se nastavi na zacatku => je treba naplnit celou matici 39 39 A = eye(RVstav.count()); 40 } else {}; // pokud neni priznak full, staci naplnit jen to co se zmenilo. V tomhle pripade se nemeni nic 40 A(0,1) = 0.2; 41 A(0,2) = -0.1; 42 } else { 43 }; // pokud neni priznak full, staci naplnit jen to co se zmenilo. V tomhle pripade se nemeni nic 41 44 } 42 45