matrix to cell conversion

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

1 件のコメント

Fangjun Jiang
Fangjun Jiang 2020 年 8 月 13 日
couldn't figure it out using the examples in "doc mat2cell"?

サインインしてコメントする。

回答 (2 件)

David Hill
David Hill 2020 年 8 月 13 日

0 投票

newCell=mat2cell(yourMatrix,ones(size(yourMatrix,1),1));
madhan ravi
madhan ravi 2020 年 8 月 13 日

0 投票

num2cell(matrix, 1).'

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

質問済み:

2020 年 8 月 13 日

回答済み:

2020 年 8 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by