Let's say I have a 100x100 matrix, I want to divide it into equals parts of 10x10.
The problem is that the input matrix can be of any size but always mod 10. I looked at the mat2cell function but it does not seem to work for a dynamic number of parts. Or am I missing something?
Thanks!