필터 지우기
필터 지우기

Interpolation of non-regular matrices

조회 수: 5 (최근 30일)
Matilda
Matilda 2014년 7월 7일
답변: Shashank Prasanna 2014년 7월 7일
Hello,
I have a problem when interpolating non-regular matrices. I have three non-regular matrices (size 20x20), Z, Y, X and a function where x = f(z,y). What I want is to find the value x depending on value y and z in a non-regular grid.
I have now tried to solve the problem, by using Griddata, which interpolates the matrices to find a matching x to y and z. The problem is that, the error turn out to be big, since the data is non-regular.
Is there a better way to find x?
Thank you for your help.
Kind regards
Matilda

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2014년 7월 7일
Scattered Interpolation is the way to go:
If the results are bad, you may want to try different methods: linear, cubic, natural, nearest etc

카테고리

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