How to fill NaN values in 3d array using interpolation?

10 visualizzazioni (ultimi 30 giorni)
I have 3 dimansion array:
precipitation=(longitude*latedute*time)
in the precipitation array I have bunch of NaN values, now i want to fill this values using interpolation.
my matlab version is R2015a.
I want to interpolate NaN values based on nearest non-missing value.
if you can write me a sample code or something I would be thankfull.
best regards.

Risposta accettata

Stephen23
Stephen23 il 14 Ott 2019
  3 Commenti

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by