Least-square with 2-norm constraint
Version 2.0.0.1 (4.3 KB) by
Bruno Luong
Minimize |A*x-b|^2 such that |x| = cte
This kind of problem arises in statistics, linear algebra, and regularization.
The method uses quadratic eigen-value problem (QEP).
Version 2 also has Sorensen/Brust method
Cite As
Bruno Luong (2025). Least-square with 2-norm constraint (https://www.mathworks.com/matlabcentral/fileexchange/27596-least-square-with-2-norm-constraint), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Optimization Toolbox > Quadratic Programming and Cone Programming >
- Mathematics and Optimization > Optimization Toolbox > Least Squares >
Find more on Quadratic Programming and Cone Programming in Help Center and MATLAB Answers
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.