Using mat2cell
显示 更早的评论
This is the third time that I'm forced to write a question about mat2cell since the explanation Matlab gives about said command offers no insight. I have a 2840x256, and I would like create 20 cells, each of 142*256. Is there any alternative to mat2cell, since I cannot understand how this command work.
采纳的回答
更多回答(1 个)
M = rand(2840,256);
C = mat2cell(M,142*ones(1,20),256)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!