Linear fit with both uncertainties in x and in y

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method
2,5K download
Aggiornato 25 ott 2017

Visualizza la licenza

This tool computes a linear fit when there are uncertainties in x data and y data. The best slope and intercept are computed by minimizing the chi2 calculated using both standard deviation on x and y (Deming fit). Data points are simulated using a Monte Carlo method so as to obtain the error on the fitted parameters.
If error on both x and y is not specified, error is assumed constant on y and computed.
Result of the fit is by default displayed, the best fit and a hull of all the possible fits are drawn.

Cita come

Julien Browaeys (2024). Linear fit with both uncertainties in x and in y (https://www.mathworks.com/matlabcentral/fileexchange/45711-linear-fit-with-both-uncertainties-in-x-and-in-y), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Fit Postprocessing in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.2.0.0

Correction of an old bug. Now if 'plotting' is set to false, the correct comportement is obtained: no plot is displayed.

1.1.0.0

Added reference to Matlab central in the help.

1.0.0.0