nearest
Nearest neighbors within radius
Description
uses additional options specified by one or more name-value pair arguments. For
example, if nodeIDs
= nearest(G
,s
,d
,Name,Value
)G
is a weighted graph, then
nearest(G,s,d,'Method','unweighted')
ignores the edge weights
in graph G
and instead treats all edge weights as
1
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2016a
See Also
shortestpath
| distances
| shortestpathtree
| neighbors
| successors
| predecessors