You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
bilinear extrapolation based on interp2
 is an evaluation point outside the predefined grid, and
 is an evaluation point outside the predefined grid, and  is its closest point on the boundary. Then, the extrapoland is given by
 is its closest point on the boundary. Then, the extrapoland is given by
 is the value of Z at t, similarly for the partial derivatives.
 is the value of Z at t, similarly for the partial derivatives. 
12 Comments
Accepted Answer
36 Comments

 shows up only in some regions and. The methodology of finding
 shows up only in some regions and. The methodology of finding  is the same in all regions. So I would have expected to have the additional terms in all regions.
 is the same in all regions. So I would have expected to have the additional terms in all regions. 

 , but why are the remaining two summands
, but why are the remaining two summands  and
 and  independent of y?
 independent of y? It is the case in the regions to the right and left of the rectangle
Why? Say either (t_x1, t_y1) or (t_x2, t_y2) is the closest point on the boundary of the grid. The y-coordinate of (x,y) can be anywhere in the interval [t_y1, t_y2]
 is
 is
 is different for the closest vertex than for the closest point. Consequently, the partial derivtives and Z in the above are evaluated at a different point. But that should be all if I look at the above equation. Do I miss something here?
 is different for the closest vertex than for the closest point. Consequently, the partial derivtives and Z in the above are evaluated at a different point. But that should be all if I look at the above equation. Do I miss something here?
 is the closest point at the boundary. We derived that
 is the closest point at the boundary. We derived that 
 is also not a function of x, i.e.,
 is also not a function of x, i.e.,
 is a function of y. So is
 is a function of y. So is 
 to be the closest vertex?
 to be the closest vertex?
More Answers (1)

2 Comments
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)





