Here is a set of altitude data I collected with an Arduino sensor BMP-180 on a board CanSat
data = {13.15, 13.4, 13.15, 13.31, 13.4, 13.31, 13.15,.....}
how can I use Kalman Filter in Mathematica to do the prediction on that set of data?
Here is a set of altitude data I collected with an Arduino sensor BMP-180 on a board CanSat
data = {13.15, 13.4, 13.15, 13.31, 13.4, 13.31, 13.15,.....}
how can I use Kalman Filter in Mathematica to do the prediction on that set of data?
Something like this perhaps.
tsm = TimeSeriesModelFit[data];
ListLinePlot[{tsm["TemporalData"],
TimeSeriesForecast[Normal[tsm], data, {6}, Method -> "Kalman"]}]
Select[TimeSeriesForecast[Normal[tsm], data, {30}, Method -> "Kalman"]["Path"], Last[#] <= 13 &]
$\endgroup$
Commented
Sep 27, 2015 at 14:25