how to find the length of characters stored in cell array?when each column contains words of different length?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have a cell array of 1*4 and it contains words 'issue, information, books,subject how can i find the no of characters in all these words?
0 comentarios
Respuesta aceptada
Iman Ansari
el 5 de Mayo de 2013
Hi.
a={'issue', 'information', 'books','subject'}
L=cellfun(@length,a)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Types 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!