Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Common Operations

Create and modify data structures, access and count their elements

MuPAD Functions

.Concatenate objects
..Range operator
assignPerform assignments given as equations
assignElementsAssign values to entries of an array, a list, or a table
lengthThe “length” of a object (heuristic complexity)
matchPattern matching
nopsNumber of operands
opOperands of an object
piecewiseDomain of conditionally defined objects
selectSelect operands
splitSplit an object
sysorderCompare objects according to the internal order
tableCreate a table
numeric::indetsSearch for indeterminates
prog::exprtreeVisualize an expression as tree
prog::findFind operands of objects
prog::sortSort objects by an index function

Topics

Sequences

Sequences represent one of the basic data structures.

Lists

Lists represent ordered data structures.

Sets

Sets represent unordered mathematical structures.

Tables

Tables associate arbitrary indices with arbitrary values.

Arrays

Arrays represent multidimensional data structures.

Vectors and Matrices

The simplest way to create a matrix in MuPAD® is to use the matrix command:

Choose Appropriate Data Structures

When you create a new MuPAD object, you choose the domain type of that object either explicitly or implicitly.

Data Collection

Suppose the data that you want to collect is generated element-by-element and you know in advance how many elements will be generated.

Was this topic helpful?