Multiplying by inverse of a matrix
Mostrar comentarios más antiguos
Hello,
I want to calculate
where α is a scalar (it's for calculating the estimated variance of a parameter). Using
where α is a scalar (it's for calculating the estimated variance of a parameter). Usingalpha*inv(X'X)
gives the correct results but (a) Matlab suggest not doing so (although the backward slash gives the wrong results) and (b) I've always avoided multiplying by the inverse of a matrix due to potential inaccuracy.
Is there a better way?
Thank you
2 comentarios
J. Alex Lee
el 27 de Nov. de 2020
can you give example values of alpha and X?
JPF
el 27 de Nov. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Phased Array System Toolbox 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!