How to convert 32x32x2x20000 into 20000x1 cell array?
1 回表示 (過去 30 日間)
古いコメントを表示
How to convert 32x32x2x20000 into 20000x1 cell array, I got a data from the output of a cnn network and i would llike to convert the 32x32x2x20000 into 20000x1 cell array and in each cell has the 32x32x2 data. Deos anyone can help, Thank you !
0 件のコメント
採用された回答
per isakson
2021 年 9 月 5 日
編集済み: per isakson
2021 年 9 月 5 日
A mat2cell example
%%
M = ones(32,32,2,6); % Sample data (20000 replaced by 6)
C = mat2cell( M, 32, 32, 2, ones(1,6) );
%%
C = squeeze( C );
C
0 件のコメント
その他の回答 (2 件)
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!