strcmp function using wildcards
Show older comments
data= 336950 x 2 table
I try to find all rows in data containing "G[0-9][0-9]" such as G01, G09, G33 and etc. I tried the following code:
G_index=find(strcmp('G**',data(:,2)));
but ** cannot be recognized as wildcards.
Accepted Answer
More Answers (1)
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!