sarr: a pedestrian array splitter
Version 1.0.0.0 (1.99 KB) by
us
SARR splits a 2D array into 3D adjacent subarrays
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
Cite As
us (2026). sarr: a pedestrian array splitter (https://uk.mathworks.com/matlabcentral/fileexchange/24865-sarr-a-pedestrian-array-splitter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Resizing and Reshaping Matrices in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
