Matrix inverse and determinant

버전 1.0.0.0 (1.37 KB) 작성자: Feng Cheng Chang
Finding inverse and determinant of matrix by order expansion and condensation
다운로드 수: 357
업데이트 날짜: 2015/12/16

라이선스 보기

The inverse and determinant of a given square matrix can be computed by the following routine applying simultaneously matrix order expansion and condensation. After completing the iteration, the expansion process results in the inverse of the given matrix (invM), and the condensation process generate an array of pivot elements (p) which eventualy gives the determinant (detM) of the given matrix (M):
[invM,detM,p,s,rc] = inv_det_opt(M).
In summary: (1) if the given matrix is non-singular then its determinant is found to be equal to the product of pivot elements. (2) if the last pivot element is found shrinking sharply toward zero, then the given matrix is said to be singular.

인용 양식

Feng Cheng Chang (2024). Matrix inverse and determinant (https://www.mathworks.com/matlabcentral/fileexchange/48600-matrix-inverse-and-determinant), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Calculus에 대해 자세히 알아보기
도움

받음: inv_det_0(A), mtx_d(A,D,d)

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Update and re-write the m-code.
This author dose not expect anyone can provide any square matrix (as huge as 1000x1000) that can disprove the results by applying this optimal iteration processing routine.