Info

This question is closed. Reopen it to edit or answer.

How do I bin a 96x256x256 to 96x128x128?

1 view (last 30 days)
Arbol
Arbol on 13 Sep 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a data set of 96x65536 (256x256). Is there a way that I can bin into 96x128x128, and average the data (96) together? For example, I will average the data of voxel (1,1) (1,2), (2,1) and (2,2)?

Answers (1)

Sean de Wolski
Sean de Wolski on 13 Sep 2017
Look at griddedInterpolant to downsample with interpolation to the size you want.

This question is closed.

Community Treasure Hunt

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

Start Hunting!