Question about length function
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jake
el 25 de Abr. de 2014
Respondida: Geoff Hayes
el 25 de Abr. de 2014
What does length(X) return if X is an nxm matrix?
0 comentarios
Respuesta aceptada
Geoff Hayes
el 25 de Abr. de 2014
length returns the maximum of n and m:
>> help length
length Length of vector.
length(X) returns the length of vector X. It is equivalent
to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices 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!