How to split a 3d matrix into sub-3d matrices?
Show older comments
How can I split e.g. a 100x100x100 matrix into non-overlapping (neighbouring) smaller matrices 10x10x10? or how to use mat2cell for this problem?
Accepted Answer
More Answers (1)
>> C = mat2tiles( rand(100,100,100), [10,10,10]);
>> whos C
Name Size Kilobytes Class Attributes
C 10x10x10 7922 cell
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!