unique edit page

disjoint list of Miller indices%

Syntax

u = unique(m) % find disjoint elements of the vector v
u = unique(m,'tolerance',0.01) % use tolerance 0.01
[u,im,iu] = unique(m,varargin)]

Input

m Miller
tol double (default 1e~7)

Output

u Miller
im index such that u = m(im)
iu index such that m = u(iu)

Flags

stable prevent sorting
noSymmetry ignore symmetry

See also

unique