extrapolate boundary data of a 2d function

652 Views Asked by At

I have a function defined over a 2d domain. I want to keep all the internal data, but the information near the boundaries are less accurate and I want to extrapolate them from the inner points. Is there an easy way to do that using MATLAB?