|
Prev: area calculation
Next: cut part of one image
From: Loren Shure on 19 Jun 2008 09:02 In article <g3aqg5$g7l$1(a)fred.mathworks.com>, unpourtous(a)hotmail.com says... > Hello everybody, > > Does any of you know some trick to search quickly if an > element is in a list? > > List = ['sgfdjhgf','dgsjhqsgdjg','hhf','jhgjhg','gjjhgyu'] > How do I easily know if 'AA' is in List? > I want to avoid the loop through all elemnts of List. > > Thanks for your help > ismember('AA',List,'rows') -- Loren http://blogs.mathworks.com/loren/
|
Pages: 1 Prev: area calculation Next: cut part of one image |