Is there a function for performing orthogonal regression in MATLAB?

I want to be perform orthogonal regression in MATLAB where both the "X" and "Y" data has uncertainty in them.

 Accepted Answer

MATLAB 7.1(R14SP3) has a demo that illustrates the procedure to perform orthogonal regression using Principal Component Analysis.
In earlier versions, please download the attached documentation and demo files. The documentation file (HTML) describes the steps to perform orthogonal regression in MATLAB. The demo file serves as a good example.
Also, you might consider using the following user-developed function available at the MATLAB Central File Exchange:
Note that MathWorks does not guarantee or warrant the use or content of these submissions. Any questions, issues, or complaints should be directed to the contributing author.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!