Split a larger matrix into smaller matrices
古いコメントを表示
Hello All,
I have a [256 x 5 x 2000] matrix. I want to split this matrix into 5 [256 x 1 x 2000] matrices. Tried using mat2cell but it returns an error stating number of dimensions must match.
Could anyone please help me with this?
Thanks, \Kashif
採用された回答
その他の回答 (1 件)
Andrei Bobrov
2016 年 3 月 17 日
C = num2cell(M,[1 3]);
5 件のコメント
Kash022
2016 年 3 月 17 日
Andrei Bobrov
2016 年 3 月 17 日
What is K? It is C?
Kash022
2016 年 3 月 17 日
カテゴリ
ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!