image thumbnail

neighbor indexing

version 1.0.0.0 (2.07 KB) by Wolfgang Schwanghart
returns neighbors of cells in n*m matrices

2.5K Downloads

Updated 19 Oct 2007

View License

ixneighbors returns indices of neighbor cells and may be used to create adjacency matrices, thereby handling NaNs.

Cite As

Wolfgang Schwanghart (2021). neighbor indexing (https://www.mathworks.com/matlabcentral/fileexchange/16991-neighbor-indexing), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!