matrix to cell conversion

how to convert 768*8 matrix into 768 number of 8*1 cells using matlab

1 comentario

Fangjun Jiang
Fangjun Jiang el 13 de Ag. de 2020
couldn't figure it out using the examples in "doc mat2cell"?

Iniciar sesión para comentar.

Respuestas (2)

David Hill
David Hill el 13 de Ag. de 2020

0 votos

newCell=mat2cell(yourMatrix,ones(size(yourMatrix,1),1));

Categorías

Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.

Preguntada:

el 13 de Ag. de 2020

Respondida:

el 13 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by