I have a 256x4 matrix. I want to divide the matrix into 256 matrices of 4 elements each. I am having a lot of difficulties. I tried using the mat2cell fn but it does not accept variable values. I would have to write '1' 256 times. Any suggestions?
2 views (last 30 days)
Show older comments
Amit Tandon
on 1 Jun 2014
Commented: Amit Tandon
on 1 Jun 2014
Help would be really appreciated. I want all the rows as separate matrices. See, I have a 256x4 matrix which I eventually plan to increase in size. After this matrix generation am planning to operate upon all the rows separately. I actually want to re-shape these division of rows into matrices again and then work on them separately. Any help would be highly appreciated.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!