Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

conversion of cell to matrixes

1 visualizzazione (ultimi 30 giorni)
Tino
Tino il 31 Mag 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hello pls
How do I convert a one column cells k which is a non scalar vector of 12000 rows to matrices For instance [K{:}] to K(:, 1). Thanks for your help in advance Tino
  1 Commento
Walter Roberson
Walter Roberson il 31 Mag 2019
I am not clear? What is size(K{1}) ? In the result, where should K{2} appear relative to K{1} ?
If K is a cell of column vectors, the [K{:}] would create an array in which each entry becomes a column, which sounds like what you are asking for.

Risposte (1)

KSSV
KSSV il 31 Mag 2019
Modificato: KSSV il 31 Mag 2019
Read about cell2mat
iwant = cell2mat(K) ;

Questa domanda è chiusa.

Tag

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by