Interpolating NaN values within a matrix

16 views (last 30 days)
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 :)

Accepted Answer

Les Beckham
Les Beckham on 31 Mar 2022
I would recommend the fillmissing function.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!