public class DefaultMeasurementModel extends Object implements MeasurementModel
MeasurementModel for the use with a KalmanFilter.| Constructor and Description |
|---|
DefaultMeasurementModel(double[][] measMatrix,
double[][] measNoise)
Create a new
MeasurementModel, taking double arrays as input parameters for the
respective measurement matrix and noise. |
DefaultMeasurementModel(RealMatrix measMatrix,
RealMatrix measNoise)
Create a new
MeasurementModel, taking RealMatrix objects
as input parameters for the respective measurement matrix and noise. |
| Modifier and Type | Method and Description |
|---|---|
RealMatrix |
getMeasurementMatrix()
Returns the measurement matrix.
|
RealMatrix |
getMeasurementNoise()
Returns the measurement noise matrix.
|
public DefaultMeasurementModel(double[][] measMatrix,
double[][] measNoise)
throws NullArgumentException,
NoDataException,
DimensionMismatchException
MeasurementModel, taking double arrays as input parameters for the
respective measurement matrix and noise.measMatrix - the measurement matrixmeasNoise - the measurement noise matrixNullArgumentException - if any of the input matrices is nullNoDataException - if any row / column dimension of the input matrices is zeroDimensionMismatchException - if any of the input matrices is non-rectangularpublic DefaultMeasurementModel(RealMatrix measMatrix, RealMatrix measNoise)
MeasurementModel, taking RealMatrix objects
as input parameters for the respective measurement matrix and noise.measMatrix - the measurement matrixmeasNoise - the measurement noise matrixpublic RealMatrix getMeasurementMatrix()
getMeasurementMatrix in interface MeasurementModelpublic RealMatrix getMeasurementNoise()
KalmanFilter every
correction step, so implementations of this interface may return a modified measurement noise
depending on the current iteration step.getMeasurementNoise in interface MeasurementModelKalmanFilter.correct(double[]),
KalmanFilter.correct(org.apache.commons.math3.linear.RealVector)Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.