How to fill missing grid value in 3D matrix

7 vues (au cours des 30 derniers jours)
ASHESH RUDRA PAUL
ASHESH RUDRA PAUL le 24 Août 2022
Réponse apportée : Matt J le 24 Août 2022
I have a 3D matrix of size 51x 39x34. There are some missing grid values in this matrix which shows zero. Now I want fill this missing grid value with the interpolation of the neighbouring value or take the average of the neighbouring value. The .mat file is also attached.

Réponse acceptée

Matt J
Matt J le 24 Août 2022
There is a command for that: fillmissing.

Plus de réponses (0)

Catégories

En savoir plus sur NaNs 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