Separating matrix into column vectors

1 view (last 30 days)
Hi!How can i make my matrix 302X3 matrix into 3 individual column vector.

Accepted Answer

Walter Roberson
Walter Roberson on 27 Jun 2015
mat2cell(YourMatrix, size(YourMatrix, 1), ones(1,3))
To get it as a cell array.

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!