How to convert this matrix to a cell array?

1 view (last 30 days)
Song
Song on 25 Apr 2014
Commented: Song on 25 Apr 2014
Hi,
I'm now doing a research using MARLAB. I tried to convert a matrix 6x1400(double) to a cell array 1x1400(cell). It means that one cell includes six values.
but I dont't know how to solve this problem.
please, let me know that.
Sincerely, Kwonsik

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 25 Apr 2014
A=rand(6,1400)
out=num2cell(A,1)

Categories

Find more on Data Type Conversion 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!