File Exchange

image thumbnail

2D Extrapolation

version (1.3 KB) by Nachiket
Function to perform 2D extrapolation


Updated 05 Aug 2011

View License

The function makes use of the inbuilt interp1 function to perform 2D extrapolation on a given data set. The input to the function is in the same format as required by interp2.

eg. Zi = interpextrap2(X,Y,Z,Xi,Yi).

Only it does not take "method" input. Method is 'cubic' by default. But the 'method' can be changed by editing the function.

Cite As

Nachiket (2021). 2D Extrapolation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Vigan Mensah


maybe I am wrong but I think && should be replace by & since you are comparing matrices and not a scalar

jose tapia

I compared this function with 2D table of Simulink and it is very diferent. Doesn't work like I expected.

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!