KFBilliardsDemo:

 Billiard demo using a Kalman filter to estimate the ball states.

 This models billiard balls that can bounce off the walls of an 
 enclosure. The model is two double integrators but because of the 
 bounce there is considerable model uncertainty in position and
 velocity. The sensor outputs the x and y position of each ball
 with noise.

 The state vector is [x;vX;y;vY].

 The demo uses the Kalman Filter (KF). 

 The simulation is run first and then the KF estimates the trajectory
 of the balls. The demo also computes the MHT distance for the
 balls. You can select the number of balls.
   
 -------------------------------------------------------------------------
 See also BilliardCollision, RHSBilliards
 -------------------------------------------------------------------------

Children:

Common: Estimation/KFInitialize
Common: Estimation/KFPredict
Common: Estimation/KFUpdate
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Math: Integration/RK4
MHT: DynamicalModels/BilliardCollision
MHT: DynamicalModels/RHSBilliards
MHT: Utilities/MHTDistance