Two dimensional extrapolation
古いコメントを表示
Does anyone know how to do two-dimensional extrapolation for out of range values?
Z=interp2(X,Y,Z,XI,YI).
In Matlab, you specify "extrapval" for out of range values. If I don't want to specify a value but actually want to extrapolate, any easy way of doing it in Matlab?
Thanks!
採用された回答
その他の回答 (1 件)
Dan
2011 年 5 月 3 日
0 投票
You can calculate the derivatives than use linear extrapolation using these derivatives. Another way is to re-implement interp2 to incorporate that feature.
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!