MultipleQR
If you have many (small) matrices that need to factorized in QR, instead of calling MATLAB qr in the for-loop you could use this function that can reduce by more than 6 the runtime.
According to my test MultipleQR is faster than MATLAB qr when dimension <= 10 and slower beyond that
Cite As
Bruno Luong (2026). MultipleQR (https://uk.mathworks.com/matlabcentral/fileexchange/68976-multipleqr), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
MultipleQR
| Version | Published | Release Notes | |
|---|---|---|---|
| 3.0.2 | Uncheck compatibility with Linux and Mac, due to unknown OpenMP mex building command by the author |
||
| 3.0.1 | Implementation in MEX openmp |
||
| 2.0.4 | speed optimization |
||
| 2.0.3 | Add a note on the determinant value of Q |
||
| 2.0.2 | Speed optimization
|
||
| 2.0.1 | Fix issue when number of page is 0 |
||
| 2.0.0 | Fix issue of tall matrices
|
||
| 1.0.0 |
