interpolating matrices between rows

조회 수: 2 (최근 30일)
AAS
AAS 2020년 9월 5일
댓글: AAS 2020년 9월 5일
I have the following matrix where the 1st column represents position x and 2nd column represents position y. The third column represents magnitude.Each row represents (x,y,magnitude) at a point. Is there any way to adaptively interpolate between the rows i,e interpolate using some function where there will be more points added beween certain points and less points added at others.
Thanks

답변 (2개)

KSSV
KSSV 2020년 9월 5일
Read about griddata and scatteredinterpolant functions.
  댓글 수: 1
AAS
AAS 2020년 9월 5일
No this doesnt work as there are some areas that does have any data.it seems to produce points all across the 2D frame.

댓글을 달려면 로그인하십시오.


KSSV
KSSV 2020년 9월 5일
You attach your data as a text file or mat file. Image snippet cannot be used to work.
  댓글 수: 1
AAS
AAS 2020년 9월 5일
Attached is the data. Thank you so much.

댓글을 달려면 로그인하십시오.

카테고리

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