4.0

4.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 2.07 KB File ID: #16991
image thumbnail

neighbor indexing

by Wolfgang Schwanghart

 

19 Oct 2007 (Updated 19 Oct 2007)

returns neighbors of cells in n*m matrices

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Dec 2010 Naresh Pai

Useful function for anyone doing raster processing in Matlab. Performed exactly like it said. Thanks Wolfgang!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
matrices Wolfgang Schwanghart 22 Oct 2008 09:32:01
neighbor Wolfgang Schwanghart 22 Oct 2008 09:32:01
adjacency Wolfgang Schwanghart 22 Oct 2008 09:32:01
indices Wolfgang Schwanghart 22 Oct 2008 09:32:01
index Wolfgang Schwanghart 22 Oct 2008 09:32:01
adjacency Julia 27 Mar 2011 15:57:11
neighbor Julia 27 Mar 2011 15:57:43

Contact us at files@mathworks.com