neighbor indexing
Version 1.0.0.0 (2.07 KB) by
Wolfgang Schwanghart
returns neighbors of cells in n*m matrices
ixneighbors returns indices of neighbor cells and may be used to create adjacency matrices, thereby handling NaNs.
Cite As
Wolfgang Schwanghart (2025). 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 LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Find more on Nearest Neighbors in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |