How to convert this matrix to a cell array?

1 visualizzazione (ultimi 30 giorni)
Song
Song il 25 Apr 2014
Commentato: Song il 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

Risposte (1)

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

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by