필터 지우기
필터 지우기

Two dimensional extrapolation

조회 수: 26 (최근 30일)
stephen
stephen 2011년 4월 27일
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!

채택된 답변

John D'Errico
John D'Errico 2011년 5월 3일
I posted the function interpne on the FEX a few years ago. It does what you want, as long as you want linear extrapolation.
Note: extrapolation is a dangerous business.

추가 답변 (1개)

Dan
Dan 2011년 5월 3일
You can calculate the derivatives than use linear extrapolation using these derivatives. Another way is to re-implement interp2 to incorporate that feature.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by