string split in cell array
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Murugan C
el 24 de Abr. de 2020
Hi Guys!
I am trying to split a numberic sting in cell array data. but unable to do it.
a = {'c\datat\pic\res\000-774'; '\c\datat\pic\res\152-7987';}
need output like
a1 = ('c\datat\pic\res\';'c\datat\pic\res\ ')
a2 = ('000-774';'125-7957')
can anyone help me to solve.
thanks in adavance!!
5 comentarios
dpb
el 24 de Abr. de 2020
You had the bright (and to me right) idea, though...the rest is a oneliner...
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!