Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

conversion of cell to matrixes

1 visualización (últimos 30 días)
Tino
Tino el 31 de Mayo de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentario
Walter Roberson
Walter Roberson el 31 de Mayo de 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.

Respuestas (1)

KSSV
KSSV el 31 de Mayo de 2019
Editada: KSSV el 31 de Mayo de 2019
Read about cell2mat
iwant = cell2mat(K) ;

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by