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
assign Perform assignments given as equations
assignElements Assign values to entries of an array, a list, or a table
length The "length" of a object (heuristic complexity)
match Pattern matching
nops Number of operands
op Operands of an object
piecewise Domain of conditionally defined objects
select Select operands
split Split an object
sysorder Compare objects according to the internal order
table Create a table
numeric::indets Search for indeterminates
prog::exprtree Visualize an expression as tree
prog::find Find operands of objects
prog::sort Sort 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?