Least Squares Polynomial Fitting for Noisy Data
This snippet, is in reality the initial prototype I used for building my polynomial least squares class/module in C and Fortran, respectively. As you'll see, it matches perfectly the outputs for Matlab's polyval() and lu() functions. Although, is a very minimalist implementation of the LU decomposition method, it sometimes beats the polyval() function in speed. (Not sure why?!)
To understand how to use it, check out the example : FitPolynomialToNoisyData.m
( In it, I compare this implementation to Matlab's traditional tools/approaches )
Check it out! ;D
Cita come
Manuel A. Diaz (2025). Least Squares Polynomial Fitting for Noisy Data (https://it.mathworks.com/matlabcentral/fileexchange/91205-least-squares-polynomial-fitting-for-noisy-data), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
PolynomialFitting
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
