Percentage deviation from a line of best fit?

1 Ansicht (letzte 30 Tage)
Daniel Tanner
Daniel Tanner am 4 Sep. 2019
Kommentiert: darova am 4 Sep. 2019
I have a set of 20 data points where roughly 15 of them are in a straight line and the results start to trail off. I need to be able to compute the percentage deviation of each point from the line of best fit that was fitted using the ezfit tool.
Is there any way that this can be done?
  1 Kommentar
darova
darova am 4 Sep. 2019
There is a way: you can use polyfit() to fit your data to line

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by