Data Structures

Data types representing lists, sequences, sets, tables, polynomials


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

Type::IntervalProperty representing intervals
Type::ListOfType representing lists of objects with the same type
Type::ListProductType representing lists
Type::IntersectionType representing the intersection of several types
Type::PolyExprType representing polynomial expressions
Type::PolyOfType representing polynomials
Type::ProductType representing sequences
Type::RatExprType representing rational expressions
Type::SequenceOfType representing sequences
Type::SeriesType representing truncated Puiseux, Laurent, and Taylor series expansions
Type::SetOfType representing sets
Type::SetType representing set-theoretic expressions
Type::SingletonType representing exactly one object
Type::TableOfEntryType representing tables with specified entries
Type::TableOfIndexType representing tables with specified indices
Type::TableOfType representing tables
Type::UnionType representing several types as one type object

Examples and How To

Choose Appropriate Data Structures

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


Sequences represent one of the basic data structures.


Lists represent ordered data structures.


Sets represent unordered mathematical structures.


Tables associate arbitrary indices with arbitrary values.


Arrays represent multidimensional data structures.

Vectors and Matrices

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


Data Type Definition

MuPAD stores all objects as elements of particular domains.

Type Checking and Mathematical Properties

Use only in the MuPAD Notebook Interface.