Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
MTM[numel] - number of elements in an array
Calling Sequence
numel(M)
numel(M, i, j, ...)
Parameters
M
-
array
i, j
array indices
Description
The numel(M) function returns the number of elements in the array, M, or the number of elements in the subreference M[i,j].
numel does not perform bounds checking of the subreference index to assure that the index is valid. Therefore, numel(M,5,5) will still return 1, the size of a subreference of the form M[5,5], even for a 2 x 2 array, M.
The special string, ":" can be used to denote the range of an entire dimension, for example, numel(M,":",1). Or, ":" by itself as in numel(M,":") can be used to denote the whole array, which is equivalent to numel(M).
Examples
See Also
ArrayTools[NumElems], MTM[array_dims], MTM[size], MTM[subsref]
Download Help Document