How to Remove NaN (missing values) from 3d array, temporally and spatially?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
I have a 3 dimension array (longitude*latetude*time) which I was read from a NetCDF file. This array has some NaN values. My question is how to remove this NaN in all spatial and temporal dimensions?
I need to remove because I want to use gridinterpolant function in the next step.
Thank you all.
2 commentaires
Walter Roberson
le 13 Oct 2019
Do you want to replace them with something?
Do you want to remove the entire row that they are on, in all of the panes?
Do you want to remove the entire column that they are on, in all of the panes?
Do you want to remove the entire timestep that they are on?
Réponse acceptée
Walter Roberson
le 13 Oct 2019
I suggest you look in the File Exchange for inpaint_nans
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur NetCDF 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!