Solving least squares problem

This is a project that explores different methods for fitting a polynomial by solving least square method
6 Downloads
Updated 23 Oct 2023

View License

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 Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0