Be the first to rate this file! 119 downloads (last 30 days) File Size: 1.99 KB File ID: #24865

sarr: a pedestrian array splitter

by us

 

28 Jul 2009

Code covered by BSD License  

SARR splits a 2D array into 3D adjacent subarrays

Download Now | Watch this File

File Information
Description

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

MATLAB release MATLAB 7.8 (R2009a)
Other requirements will work under older MATLAB versions
Zip File Content  
Other Files license.txt,
sarr.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
array us 28 Jul 2009 11:21:45
subarray us 28 Jul 2009 11:21:45
tiling us 28 Jul 2009 11:21:45
permute us 28 Jul 2009 11:21:45
reshape us 28 Jul 2009 11:21:45
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com