how to interp2 with nan data

24 次查看(过去 30 天)
nlm
nlm 2018-10-22
评论: nlm 2018-10-22
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
  1 个评论
nlm
nlm 2018-10-22
I have 1800*3600 matrix, and the computation runs out of memory. Is there any other way >

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by