Orthogonal Distance Regression plot and regression equation

13 views (last 30 days)
Hi,
I have a dataset, attached herewith for your reference.
I want to plot the orthogonal distance regression line and get y=mx+c equation in the plot.
Thank you!

Accepted Answer

KSSV
KSSV on 15 Jul 2019
  5 Comments
KSSV
KSSV on 15 Jul 2019
YOu use both...calculate the error....which ever gives you less error proceed with that.
MatLab Code N
MatLab Code N on 15 Jul 2019
What do you mean by that? Shouldn't there be a standard way of calulating the Orthogonal Distance Regression?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!