Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1033

Kalman filter does not work if covarance matrix is not of dimension 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.3
    • None
    • None

    Description

      In org.apache.commons.math3.filter.KalmanFilter,

      The check below doesn't look right, it reques measNoise's column dimension to be 1 at all time.

      // row dimension of R must be equal to row dimension of H
      if (measNoise.getRowDimension() != measurementMatrix.getRowDimension() ||
      measNoise.getColumnDimension() != 1)

      { throw new MatrixDimensionMismatchException(measNoise.getRowDimension(), measNoise.getColumnDimension(), measurementMatrix.getRowDimension(), 1); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            abyssqu Yuan Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: