neighbor indexing

returns neighbors of cells in n*m matrices


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 (2023). 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!
Version Published Release Notes