which or whichND On Thu, Jan 24, 2013 at 9:46 AM, Lee Goddard <[email protected]> wrote: > Is there a PDL equivalant to MATLAB's 'find(x)' function, or will I need to > write my own? > > TIA > Lee > > ind = find(X) > locates all nonzero elements of array X, and returns the linear indicies of > those elements in vector ind. If X is a row vector, then ind is a row > vector; otherwise, ind is a column vector. If X contains no nonzero elements > or is an empty array, then ind is an empty array. > > -- http://www.mathworks.com/help/matlab/ref/find.html > > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
