How to split a 3D matrix into multiple 2D matrices
57 views (last 30 days)
Manas Minnoor on 6 Jun 2021
Please refer to the following links which explain in detail how to use cell arrays to accomplish this.
However, just indexing into the 3D matrix will be much easier than creating multiple 2D matrices. Only if it is required should you create the N 2D matrices.
You may use the mat2cell function, whose documentation is listed below:
Hope this helps.