/usr/share/freemat/help/text/unique.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | UNIQUE UNIQUE Unique
Usage
Returns a vector containing the unique elements of an array. The first
form is simply
y = unique(x)
where x is either a numerical array or a cell-array of strings. The
result is sorted in increasing order. You can also retrieve two sets
of index vectors
[y, m, n] = unique(x)
such that y = x(m) and x = y(n). If the argument x is a matrix,
you can also indicate that FreeMat should look for unique rows in the
matrix via
y = unique(x,'rows')
and
[y, m, n] = unique(x,'rows')
|