How to extrapolate data

2 views (last 30 days)
Boni_Pl
Boni_Pl on 2 Oct 2019
Answered: Walter Roberson on 2 Oct 2019
Hello, I have coordinates of (x,y) . I have also the coordinates of the points where the values of (x,y) have to extrapolate. If x=[1,2,2,5,6] and y=[3,4,6,2,6] are the coordinates. The data of (x,y) are given by d=[2.5,4,3.8,1.22,7.1] then how to extrapolate the values in the coordinates (X,Y) if X=[8,8,7,9] and Y=[5,6,4,7].
Please Help

Accepted Answer

Walter Roberson
Walter Roberson on 2 Oct 2019
F = scatteredInterpolant(x(:), y(:), d(:));
interpolated_d = F(X, Y);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!