sarr: a pedestrian array splitter

バージョン (1.99 KB) 作成者: us
SARR splits a 2D array into 3D adjacent subarrays

ダウンロード: 1K

更新 2009/7/28


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.

> help sarr
for help and an example for this self-explanatory snippet


us (2023). sarr: a pedestrian array splitter (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート