Separating matrix into column vectors
1 view (last 30 days)
Show older comments
Mark Twen
on 27 Jun 2015
Answered: Walter Roberson
on 27 Jun 2015
Hi!How can i make my matrix 302X3 matrix into 3 individual column vector.
0 Comments
Accepted Answer
Walter Roberson
on 27 Jun 2015
mat2cell(YourMatrix, size(YourMatrix, 1), ones(1,3))
To get it as a cell array.
0 Comments
More Answers (0)
See Also
Categories
Find more on Multidimensional Arrays 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!