How to fill missing grid value in 3D matrix

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.

 Accepted Answer

More Answers (0)

Asked:

on 24 Aug 2022

Answered:

on 24 Aug 2022

Community Treasure Hunt

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

Start Hunting!