function s = nonzeros(S);
%NONZEROS Nonzero matrix elements.
%   NONZEROS(S) is a full column vector of the nonzero elements of S.
%   This gives the s, but not the i and j, from [i,j,s] = find(S).
%
%   See also NNZ, FIND.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 5.4 $  $Date: 1997/11/21 23:44:30 $

s = sparsfun('nzvals',S);
