Interpolating NaN values within a matrix

조회 수: 31(최근 30일)
Ashfaq Ahmed
Ashfaq Ahmed 2022년 3월 31일
답변: Les Beckham 2022년 3월 31일
Hi all!
I have this 71x328 size matrix (It's actually a satellite swath data). Within it, the row 35, 36, and 37 are entirely NaN.
So, I have these NaN values of a 3x328 size within the matrix. Can you kindly tell me how can I interpolate the values of the NaNs? Any feedback from you will be greatly appreciated :)

채택된 답변

Les Beckham
Les Beckham 2022년 3월 31일
I would recommend the fillmissing function.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by