Mostrar comentarios más antiguos
How to implement Kalman filter in Phase Lock Loop? Codes or algorithms are welcome...
1 comentario
Subhasmita Chakraborty
el 12 de Mzo. de 2012
Respuestas (1)
Ahmad Alnahlaui
el 19 de Feb. de 2018
0 votos
First you have to define the covariance matrices. they depend on measuring and system errors. Q=[...]; R=[...]; P=[...]; Then you should calculate the apriori estimate and the covariance matrices of the apriori estimation error. x1k+1 = f(xk,u); P1= AD*Pk*AD'+Q; Now you can calculate the weighting matrix and the final estimate. L=P1*C'*inv(C*P1*C'+R); xk+1=x1k+1+L*((ZMeasurement-(x1k+1'*C'))'); Finally, you need to calculate the covariance matrices of the aposteriori estimation error. P=(eye(n)-L*C)*P1;
La pregunta está cerrada.
Categorías
Más información sobre State Estimation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!