← Back to the chapter · Next detail →
Technical detail · IoT Mathematics: Fusion and Sampling Decisions
State prediction with matrices
Step 1: Model the System State
From Section C.2 (Matrices), define state vector as position and velocity:
x=pxpyvxvy
Where:
- px,py = position (meters)
- vx,vy = velocity (meters/second)
Step 2: State Transition (Prediction)
From Section A.1 (Derivatives) and A.2 (Integrals), position changes via velocity integration:
pnew=pold+v⋅Δt
In matrix form (Section C.3):
xk+1=F⋅xk+wk
F=10000100Δt0100Δt01
Example: Current state is position (100m, 200m), velocity (15 m/s, 0 m/s), Δt=0.1s
pxpyvxvynew=100001000.101000.101100200150=101.5200150
Predicted position: (101.5m, 200m) after 0.1 seconds.
← Back to the chapter · Next detail →