## Sample solution kalman_estimate

Moderator: Computer Vision 2

andre_w
BASIC-Programmierer
Beiträge: 125
Registriert: 14. Okt 2007 14:59
Wohnort: Kriftel
Kontaktdaten:

### Sample solution kalman_estimate

Hello,

I think that there is a small error in the sample solution of the kalman_estimate function.

The matrix A is calculated in the sample solution in the following way:

Code: Alles auswählen

A = (X(2:end, :)' * X(1:end-1,:)) / (X(1:end,:)' * X(1:end,:));

I think that this line should be:

Code: Alles auswählen

A = (X(2:end, :)' * X(1:end-1,:)) / (X(1:end-1,:)' * X(1:end-1,:));

The sums in the formula for the matrix A start with k=2 - so I don't think that it is correct to use the whole X matrix.

Best regards,
Andre