gblk: a pedestrian data block extractor

Version 1.0.0.0 (32.2 KB) by us
gblk computes segment/offset parameters for very fast extraction of data blocks from a matrix
2.8K Downloads
Updated 27 Apr 2007

View License

GBLK computes index templates of the form
segment:offset
for very fast extraction of data blocks from 2d matrices of any type.

data blocks can be non-, partial-, or fully overlapping.

the output can be reused to extract data from other matrices of the same size.

the templates can be modified to extract only selected data blocks and/or to extract only selected values from a data block.

CELLFUN can be used to compute further results from the extracted data blocks

see
> help gblk
and the accompanying published M-file for info and a few self-explanatory examples.

an ND version of GBLK will be posted soon.

Cite As

us (2026). gblk: a pedestrian data block extractor (https://ch.mathworks.com/matlabcentral/fileexchange/14801-gblk-a-pedestrian-data-block-extractor), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

a wrong zip file was sent... sorry for this annoying mistake
us