matrix to cell conversion

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

1 commentaire

Fangjun Jiang
Fangjun Jiang le 13 Août 2020
couldn't figure it out using the examples in "doc mat2cell"?

Connectez-vous pour commenter.

Réponses (2)

David Hill
David Hill le 13 Août 2020

0 votes

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

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by