2
## @deftypefn{Function File} [@var{y},@var{f}] = inz ( @var{x} )
4
## This function is just to save typing and improve readability, as in
5
## foo(find(foo(:,p)),p) vs. inz(foo(:,p))
6
## y = inz(x) == x(find(x)) - Indices of Non-Zeros
7
## [y,f] = [x(find(x)),find(x)]
11
## Author: Etienne Grossmann <etienne@cs.uky.edu>
12
## Last modified: October 2000
14
function [y,f] = inz(x)
15
y = x(:)(f = find(x));
16
## That does not seem to improve anything