2D interpolation with dependent variables

조회 수: 2 (최근 30일)
Thom4184810
Thom4184810 2014년 7월 11일
편집: Thom4184810 2014년 7월 11일
Hello,
I have a matrix E(Nx*Ny) that depends of the coordinates K(Nx*Ny) and I would like to interpolate E on new coordinates Ki(Nx*Ny).
K is not uniformly spaced (in both axis), and can not be expressed as a vector product of independent vectors.
Ki is uniformly spaced and can be expressed as a vector product of two vectors.
It seems that interp2 and scatteredInterpolant are not working in this case because both require a format with independant coordinates for the axis.
I already have something that works with interp1 and a loop on each Nx, but I would try to speed it up.
Is there a solution ? Thank you.

답변 (0개)

카테고리

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