Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Curve Fitting with error in the independent value

Asked by Christian Weber on 26 Jan 2013

Hello,

I want to fit a curve to data, where the dependent and the independent variables both have errors. Usually Matlab assumes, that only the dependent variables have errors.

So my question is: Does Matlab offers methods to perform fits where both errors are taken into account?

My regards, Christian.

0 Comments

Christian Weber

Products

No products are associated with this question.

1 Answer

Answer by Shashank Prasanna on 26 Jan 2013
Accepted answer

What you are referring to are a type of regression problems called error-in-variable models. They may go by other names depending on methods used.

MATLAB does not ship these methods as far as I know. However our friends at File Exchange has several submissions that may be exactly what you are looking for.

Here are few examples:

http://www.mathworks.com/matlabcentral/fileexchange/31109 http://www.mathworks.com/matlabcentral/fileexchange/33484-linear-deming-regression

1 Comment

Christian Weber on 30 Jan 2013

Thank you so much!

This helps a lot.

Regards, Christian

Shashank Prasanna

Contact us