Next: , Previous: speye, Up: Function Reference


22.6.0.29 spfind

— Loadable Function: [...] = spfind (...)

SPFIND: a sparse version of the find operator

  1. x = spfind( a )
      is analagous to x= find(A(:))
      where A= full(a)
  2. [i,j,v,nr,nc] = spfind( a )
      returns column vectors i,j,v such that
      a= sparse(i,j,v,nr,nc)
     
     
See also: sparse.