Closed srambhatla closed 9 years ago
the find function pretty much returns the original matrix. Modify it to take a logical statement like find (X > 0) and return
find
find (X > 0)
argwhere (X > 0 )
X [ argwhere( X > 0 ) ]
MATLAB
This was very recently addressed by 0fa894959406fd706f94372e6ee7da72275b878b! This commit removed find as I find argwhere more clear about what it does than find.
argwhere
the
find
function pretty much returns the original matrix. Modify it to take a logical statement likefind (X > 0)
and returnargwhere (X > 0 )
X [ argwhere( X > 0 ) ]
this will also make it moreMATLAB
like.