inv_det_0(A)

版本 1.2.0.0 (520 字节) 作者: Feng Cheng Chang
Inverse and determinant of a matrix by order expansion and condensation
193.0 次下载
更新时间 2014/11/15

查看许可证

The inverse and determinant of a given square matrix can be computed by applying iteration routine involved simultaneously matrix order expansion and condensation process. At the conclusion of iterations process, the expansion routine results in the inverse (iA) of the given matrix (A), and the condensation routine generates an array (p) of elements (Schur components), which gives the determinant (dA)of the given matrix.
[iA,dA,p] = inv_det_0.(A).
The routine code is very compact, and works for fairly large order matrices such as A = randn(99). The total number of multiplication/division operations is about N^3, which is need for the product of two NxN matrices.
The routine involves simple arithmatic division, and will fail if the divider becomes zeros. In such cases, we must interchange among rows and columns of the given matrix, before running the routine.

引用格式

Feng Cheng Chang (2024). inv_det_0(A) (https://www.mathworks.com/matlabcentral/fileexchange/47444-inv_det_0-a), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Combine order expansion and condensation routines into a simple compact routine

1.1.0.0

Submitted files det_inv_0.m and det_0.m must be independently separated.

1.0.0.0