Navigation

Operators and Keywords

Function List:

C++ API

nonzeros.m File Reference


Functions

endfunction !assert (nonzeros([1, 2;3, 0]),[1;3;2])%!assert(nonzeros([1
endfunction !assert (nonzeros(sparse([1, 2;3, 0])),[1;3;2])%!assert(nonzeros(sparse([1

Variables

function t
 endif [i, j, t] = find (s)

Function Documentation

endfunction !assert ( nonzeros(sparse([1, 2;3, 0]))   ) 

endfunction !assert ( nonzeros([1, 2;3, 0])   ) 


Variable Documentation

endif[i, j, t] = find (s)

t

Initial value:

 nonzeros (s)

  if (nargin != 1)
    print_usage ()