Call adjacent element in row
显示 更早的评论
For element 12 in 2nd column, I need to know the corresponding element (neighbor/ adjacent) in column 1 (1,2,3 in column 1 is adjacent to 12). I tried INTERSECT which gives me row number where they intersect. From that information, I need to search element in 1st column. Is there any direct way to do this? Thanks.

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Nearest Neighbors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!