How to split 128x128 array into 64 ( 2x128 ) ?
显示 更早的评论
Hello
i have a 128x128 array which i need to split it into 64 array of size 2x128
How to do that ?
2 个评论
Stephen23
2021-12-4
The MATLAB approach, where A is your 128x128 array:
C = mat2cell(A, 2*ones(1,64), 128)
Muhammad Abdulrazek
2021-12-4
采纳的回答
更多回答(1 个)
Download mat2tiles from
A=rand(128);
Acell=mat2tiles(A,[2,inf])
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!