Solving least squares problem
                    Version 1.0.0 (96 KB) by  
                  Immaculatedcoder
                
                
                  This is a project that explores different methods for fitting a polynomial by solving least square method
                
                  
                  
              Write down the normal equation and use appropriate MATLAB commands to solve it.
Code the classical Gram-Schmidt method and apply it to find QR decomposition and then find the solution
of interpolation problem.
Use MATLAB function qr to obtain QR decomposition and use it to find the solution of interpolation
problem.
Use MATLAB function svd to construct pseudoinverse of A and use it to find the solution of interpolation
problem.
Cite As
Immaculatedcoder (2025). Solving least squares problem (https://au.mathworks.com/matlabcentral/fileexchange/153381-solving-least-squares-problem), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2023b
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxTags
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.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 | 
