Separating matrix into column vectors

Hi!How can i make my matrix 302X3 matrix into 3 individual column vector.

 Accepted Answer

mat2cell(YourMatrix, size(YourMatrix, 1), ones(1,3))
To get it as a cell array.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!