Is there a function that returns t/f when searching for a string case
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Brian Morrison
am 26 Mär. 2015
Kommentiert: Brian Morrison
am 27 Mär. 2015
say I have the case of:
m={'abc';'efg';hij'}
is there a function that can search for the letter 'i' and return an array stating 1 or 0 for true or false if that letter exists in m?
so the answer that i would be looking for would return as:
ans=
0
0
1
I have an older version of Matlab, R2008a
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Search Path finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!