Regular Expressions using regexp
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Priya
el 12 de Oct. de 2013
Respondida: Walter Roberson
el 13 de Oct. de 2013
I have a cell array of strings a = {'-2.4,-3';'2,3';'0,5';'-4,-2.5';'A';'V';'C'}
Now I want to list those strings which have a "comma".
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 12 de Oct. de 2013
Editada: Azzi Abdelmalek
el 12 de Oct. de 2013
a={'-2.4,-3';'2,3';'0,5';'-4,-2.5';'A';'V';'C'}
out=a(cellfun(@(x) ~isempty(strfind(x,',')),a))
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!