pregress.m

Version 1.0.0.0 (1,55 ko) par Elizabeth
A Matlab function pregress.m to carry out linear regression for an arbitrary order n polynomial.
200 téléchargements
Mise à jour 18 juil. 2012

Afficher la licence

FUNCTION INPUTS:
* a set of data points (xi; yi), for i=1:N
* the order of the fit
FUNCTION OUTPUT:
* should output the estimated polynomial coefficients.
USES:
* Use the regression function to fit a polynomial globally (i.e., to the entire data set).
* Plot the fitted polynomial (using a continuous line) on top of your actual data points marked as discrete symbols. * Experiment with the order n and observe the quality of your results.

Citation pour cette source

Elizabeth (2025). pregress.m (https://www.mathworks.com/matlabcentral/fileexchange/37540-pregress-m), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0