Changeset 1468 for applications/pmsm/simulator_zdenek/ekf_example/qmath.cpp
- Timestamp:
- 12/16/12 23:05:25 (11 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/qmath.cpp
r1464 r1468 28 28 return -32768; 29 29 else 30 return prevod(log(x/32768.) ,15);30 return prevod(log(x/32768.)/11,15); // log (1/32768) = -10.39. log(x) is scaled to -11:0 31 31 }