File Exchange

image thumbnail

inv4spd.m

version 1.0 (1.55 KB) by

Inversion algorithm for symmetric, positive definite matrix M. Minv = inv4spd(M).

1 Download

Updated

View License

This algorithm avoids the use of
chol.m and inv.m (the latter is a built-in M-file) and achieves the goal of inverting a symmetric positive definite matrix

Comments and Ratings (1)

Mo Chen

Mo Chen (view profile)

why avoiding chol.m, it seems to me that the following code is much more efficient and simpler
 R= chol(A);
P = R\(R'\I);

MATLAB Release
MATLAB 7.5 (R2007b)
Acknowledgements

Inspired: Inverse and determinant of square matrix

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video