Multiplying by inverse of a matrix
Mostra commenti meno recenti
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 Commenti
J. Alex Lee
il 27 Nov 2020
can you give example values of alpha and X?
JPF
il 27 Nov 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Phased Array System Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!