Interpolating NaN values within a matrix

36 vues (au cours des 30 derniers jours)
Ashfaq Ahmed
Ashfaq Ahmed le 31 Mar 2022
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 :)

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by