Regression line that includes x and y errors.
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have x and y data set, and each x and y variables have 5% and 10% uncertainty or error, respectively. How I should find a one regresion or best fit line (Best_y = mx + c) for such a dataset? Here is the dataset. Any thoughts? Thanks.

0 commentaires
Réponse acceptée
Matt J
le 20 Fév 2023
Modifié(e) : Matt J
le 20 Fév 2023
I would recommend linear2dFit() form this FEX download,
fitResult=linear2dFit([x,y]')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!