SARR splits a 2D array into adjacent subarrays
in COL -> ROW order.
the subarrays are collected in a 3D array
of size [SR,SC,SP], which facilitates
block processing.
the engine exclusively uses RESHAPE and PERMUTE
to keep memory requirements low.
SARR ends with an error if the size of the subarrays
does not fit into the size of the array.
see
> help sarr
for help and an example for this self-explanatory snippet
引用格式
us (2024). sarr: a pedestrian array splitter (https://www.mathworks.com/matlabcentral/fileexchange/24865-sarr-a-pedestrian-array-splitter), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Resizing and Reshaping Matrices 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |