[y, f] =
(x)
Extract nonzero elements of x. Equivalent to x(x != 0). Optionally, returns also linear indices.
x(x != 0)
Package: miscellaneous