This is an implementation for the Least-squares Fitting regression algorithm that doesn't use any Toolboxes. In addition, the code solves a classification problem using such Least-squares Fitting regression. More details can be found in my article: https://heraqi.blogspot.com/2016/07/regression-for-classification.html
Hesham Eraqi (2023). Least Squares Fitting (https://www.mathworks.com/matlabcentral/fileexchange/68452-least-squares-fitting), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!