Small size linear solver

Linear solver of multiple 2x2 and 3x3 systems
840 download
Aggiornato 28 mag 2010

Visualizza la licenza

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.

Cita come

Bruno Luong (2024). Small size linear solver (https://www.mathworks.com/matlabcentral/fileexchange/27762-small-size-linear-solver), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Sparse Matrices in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Make sure calling MTIMESX with SPEED option
Modification of H1 lines

1.0.0.0