Version (1.35 KB) by Ian Howat
Split a 2D array into equally-sized sub-arrays.
Updated 6 Nov 2009

View License

A = tile(B,nx,ny,overlap)

B = 2D array
nx = number of tiles in column direction
ny = number of columns in row direction
overlap = ammount of overlap of tiles in pixels

A = cell array of size ny by nx with each cell containing a tile.

Cite As

Ian Howat (2024). tile (https://www.mathworks.com/matlabcentral/fileexchange/25763-tile), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Matrices and Arrays in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes