how to interp2 with nan data

I have [X; Y; Z] = [1,2,3,4,5 ; 2,3,4,5,6 ; 0.2, NaN, 0.1, NaN, NaN] which needs to be interpolated to [XI; YI] which are [4,5,6,7,8 ; 0,1,2,3,4]. How can I do it by removing the NaN in Z ? If I remove NaN, its no more regular grid, and does not interpolate.

답변 (1개)

madhan ravi
madhan ravi 2018년 10월 22일

0 개 추천

댓글 수: 1

nlm
nlm 2018년 10월 22일
I have 1800*3600 matrix, and the computation runs out of memory. Is there any other way >

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

카테고리

도움말 센터File Exchange에서 NaNs에 대해 자세히 알아보기

태그

질문:

nlm
2018년 10월 22일

댓글:

nlm
2018년 10월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by