How to split 360*160*50 data into several 5*5*5 chunks?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Yandong Lang
el 5 de Mzo. de 2019
Comentada: Star Strider
el 5 de Mzo. de 2019
I want to slipt my 360*160*50 data into several 5*5*5 chunks. Then do the calculation into each chunk. Each chunk will give me on result and need to label the result as well. The results need to be in a 72*32*10 dataset.
0 comentarios
Respuesta aceptada
Star Strider
el 5 de Mzo. de 2019
M = rand(360, 160, 50);
R = reshape(M, 5, 5, 5, []);
Rsize = size(R) % Check Result
producing:
Rsize =
5 5 5 23040
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Troubleshooting in Polyspace Products for Ada en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!