Split large matrix in smaller matrices?
3 views (last 30 days)
Show older comments
Hi, I have a matrix A = 169 x 606 and I want to convert each row into a 13 x 13 matrix? I know this is probably a simple operation, but I can't seem to get it to work. If anyone has any ideas it would be very much appreciated!
Thanks.
0 Comments
Accepted Answer
Andrei Bobrov
on 15 Jun 2012
eg ( A - your matrix with size (169 x 4),)
for each column:
A = randi(3000,169,4);
out = reshape(A,13,13,[])
0 Comments
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices 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!