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[size] - size of an array in each dimension
Calling Sequence
size(M)
size(M, n)
Parameters
M
-
array
n
positive integer dimension
Description
The size(M) function returns an array with the number of rows as the first entry, and the number of columns as the second entry.
When M is a row-vector, the result of size(M) will have a 1 in the entry specifying the number of rows. Similarly when M is a column-vector, there will be a 1 in the second entry of the result.
When M has more than 2 dimensions, the number of entries in M will correspond to the number of dimensions of M.
When n is given, size(M,n) will return only the number corresponding to that dimension. size(M,1) will give the number of rows and size(M,2) will give the number of columns.
When n is larger than the number of dimensions of M, 1 will be returned.
Examples
See Also
ArrayTools[Size], MTM
Download Help Document