finding all the other elements of a cell vector apart from zeros and empties
Ältere Kommentare anzeigen
Dear all,
I want to find all the elements of a cell vector apart from zeros and empties Using the command
ismember(mm,setdiff(mm,'0' ))
I find all the elements apart from zeroes. But I want to find all the elements apart from zeroes AND empty cells. Note mm is a cell of dimension 1000 by 1
thanks
1 Kommentar
Thomas
am 4 Jun. 2012
can you post a small snipet of 'mm'. You say it is a cell but does it contain numbers and characters or just numbers..
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Hypothesis Tests finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!