Cell rows/columns size
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Memo Remo
el 20 de Mayo de 2020
Comentada: Memo Remo
el 20 de Mayo de 2020
Hi,
I have a m by n cell in which some rows has less than 10 strings and the remaining elements are empty ([ ]). I now want to determine how many strings are there in each rows. If this cell was an array I could use "nonzeros(A(i,:))" to determine this but I don't know how to do this for a cell. Please help me fix this problem.
Thanks.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures 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!