Hello, Maybe someone could help me with the following situation. Lets say I have multiple *.mat files, that contains of arrays with different number of rows but with the same number of columns. I need to divide each loaded array in to smaller 3D arrays. For example if I have array a 1324000xM, I would like to make 400000xMx3, and 124000 rows would be used for training later. If I have array 2411000xM it should be 400000xMx6. And not always it would be 400000 rows it could warry, what would be the way to achieve this?