how to find the length of characters stored in cell array?when each column contains words of different length?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Iman Ansari
le 5 Mai 2013
Hi.
a={'issue', 'information', 'books','subject'}
L=cellfun(@length,a)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Types dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!