How to calculate the number of elements in a matrix?
33 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nicoleta
el 9 de En. de 2016
Comentada: Pravin Narola
el 19 de Jul. de 2019
e.g having this matrix: M=[ 1 2 3; 7 8 9] I want to return 6 which is the total number of elements I want some other method besides size(M,1)*size(M,2). Thx
1 comentario
Respuesta aceptada
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!