Small size linear solver
Versión 1.1.0.0 (3,03 KB) por
Bruno Luong
Linear solver of multiple 2x2 and 3x3 systems
Solve multiple (2x2) or (3x3) linear systems:
A(:,:,k)*X(:,:,k) = B(:,:,k) for k=1,2,...,N
The method used here is basic cofactor/determinant.
DISADVANTAGE: This method may be less accurate than Matlab backslash (using in for-loop) when the matrices are ill-conditioned.
ADVANTAGE: for a large number of systems - the speed-up is about 15-30 fold.
Citar como
Bruno Luong (2026). Small size linear solver (https://la.mathworks.com/matlabcentral/fileexchange/27762-small-size-linear-solver), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Sparse Matrices >
Más información sobre Sparse Matrices en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspirado por: MTIMESX - Fast Matrix Multiply with Multi-Dimensional Support
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
