Code for finding extrapolated value when two point are given?
Ältere Kommentare anzeigen
there are two point A (x1,y1)and B(x2,y2) given trying to extrapolate at third point c(x3,y3). I am knowing the value of A(x1,y1) and B(x2,y2), How can I compute the value of C(x3,y3).
Antworten (2)
the cyclist
am 14 Mai 2013
You can use the MATLAB function interp1() to do extrapolation. Read
doc interp1
for details.
Be careful. Extrapolation is a tricky business.
Walter Roberson
am 14 Mai 2013
0 Stimmen
interp1()
Or just use standard geometry... y = m*x + b, m = (y2-y1)/(x2-x1)
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!