How to reshape a matrix
Show older comments
Hello , i've got a k by l by m by n by o matrix and i want to reshape it into a vector.. Any ideas?
Accepted Answer
More Answers (1)
A = rand(2,2,2,2);
B = A(:);
size(B)
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!