Documentation

# Data Structures

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

### Note

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.

 `Type::Interval` Property representing intervals `Type::ListOf` Type representing lists of objects with the same type `Type::ListProduct` Type representing lists `Type::Intersection` Type representing the intersection of several types `Type::PolyExpr` Type representing polynomial expressions `Type::PolyOf` Type representing polynomials `Type::Product` Type representing sequences `Type::RatExpr` Type representing rational expressions `Type::SequenceOf` Type representing sequences `Type::Series` Type representing truncated Puiseux, Laurent, and Taylor series expansions `Type::SetOf` Type representing sets `Type::Set` Type representing set-theoretic expressions `Type::Singleton` Type representing exactly one object `Type::TableOfEntry` Type representing tables with specified entries `Type::TableOfIndex` Type representing tables with specified indices `Type::TableOf` Type representing tables `Type::Union` Type 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

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:

## Concepts

Data Type Definition

MuPAD stores all objects as elements of particular domains.

Type Checking and Mathematical Properties

Use only in the MuPAD Notebook Interface.

#### Mathematical Modeling with Symbolic Math Toolbox

Get examples and videos