Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Matlab[size] - compute the size of a MapleMatrix or MatlabMatrix using MATLAB
Calling Sequence
size(X)
Parameters
X
-
MapleMatrix, or MatlabMatrix
Description
The size command computes the size of a matrix using MATLAB(R).
Executing the size command returns an integer list with n elements for an n-dimensional object. For example, a three-by-four matrix is two-dimensional, and returns a list with two elements. Each element represents the size of the corresponding dimension. The three-by-four matrix returns the list [3, 4].
To compute the size of a Maple variable, you should use Matlab[dimensions]. Calling size when X is a Maple variable causes X to be copied into the MATLAB memory space before the MATLAB size command is called. If X is already a MATLAB variable (that is, X is a string), then the size is immediately and efficiently computed.
Examples
Setting two Maple matrices.
The size of these matrices in Maple is computed as
[2, 3]
[3, 2]
The matrices are set in the MATLAB session
The product of maplematrix_a*maplematrix_b is computed in MATLAB and the result is assigned to matlabmatrix_c. The size of the new matrix is determined with the Maple call.
[2, 2]
See Also
LinearAlgebra[Dimension], Matlab, Matlab[getvar], Matlab[setvar], MatlabMatrix
Download Help Document