Least squares with minimum-norm solution
Editor's Note: mex
This function calculates the minimum-norm solution of the least squares problem A*X = B. Where A is low-rank matrix. The function LSMIN is faster then the matlab alternative X = pinv(A)*B. Uses the LAPACK functions (S,C,D,Z)EGLSS or (S,C,D,Z)EGLSD.
Cite As
Ivo Houtzager (2026). Least squares with minimum-norm solution (https://github.com/iwoodsawyer/lsmin/releases/tag/v1.6.0.3), GitHub. 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.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.6.0.3 | See release notes for this release on GitHub: https://github.com/iwoodsawyer/lsmin/releases/tag/v1.6.0.3 |
||
| 1.6.0.2 | See release notes for this release on GitHub: https://github.com/iwoodsawyer/lsmin/releases/tag/v1.6.0.2 |
||
| 1.6.0.1 | Fix compiler warnings |
||
| 1.6.0.0 | Support for new Interleaved Complex API |
||
| 1.5.0.0 | Update make_factor script for mingw64 compiler to link correct blas/lapack libraries to prevent access violation error. |
||
| 1.4.0.0 | Fix make script for newer matlab versions |
||
| 1.3.0.0 | Fix compilation errors with newer matlab version. |
||
| 1.2.0.0 | add documentation |
||
| 1.1.0.0 | Updated for new Matlab 64 bit versions |
||
| 1.0.0.0 | new mex-files for R2008a |
