Extrapolate best-fit line
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marisabel Gonzalez
am 7 Feb. 2019
Beantwortet: Torsten
am 7 Feb. 2019
Hello,
This is a section of one of my plots. I am estimating the slope of the "crosses data", i.e. the star is not included in that estimation (I am just using it as a reference value). I want to show that my best fit of the crosses also passes through that star. How can I extrapolate this without having to include the star in my estimate? Thanks
0 Kommentare
Akzeptierte Antwort
Torsten
am 7 Feb. 2019
If you have the coefficients c(1) and c(2) of the fit line l(x)=c(1)+c(2)*x, just evaluate the equation at the x-coordinate of the star point and compare with the y-coordinate of the star point.
0 Kommentare
Weitere Antworten (0)
Siehe auch
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!