Best linear fit to data with errors in both x and y
2 次查看(过去 30 天)
显示 更早的评论
I have data with errors in both x and y, just like :x,xerr,y,yerr;How can I fit them with the error. As the fit function only consider x and y.Is there any other function can do it?
0 个评论
回答(1 个)
the cyclist
2015-10-8
There is one technique I know of called "Total Least Squares", that accounts for error in both the independent and dependent variables. I don't know of any built-in MATLAB functions that do this technique. I found this FEX submission, which is highly rated. You could try it.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!