Hi All, I used Spline method in interp2 function to extrapolate some points beyond my given mesh grid range. the mesh grid is shown below:
on X-Z plane, it looks like this:
on Y-Z plane, it looks like this:
When i extrapolate using command:
Z2=interp2(X,Y,Z,231,3888,'spline')
Z2 =
855.0972
From the graph and by common sense , there is no way that Z will be 855…
i used a free Excel add-on function called interp3d, it gives me 255.3 which seems much more reasonable than Matlab. Its frustrating to see a free add-on of Excel gives better solution here, not mentioning that its also much easier to use too.
Did I do anything wrong or there are bugs in the spline method? Please Help… Thanks
-Bill
Best Answer