Combinatorics

Bell numbers, Catalan numbers, partitions and compositions of integers

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.

MuPAD Functions

combinat::bellBell numbers
combinat::cartesianProductCartesian product
combinat::catalanCatalan numbers
combinat::chooseSubsets of a given size
combinat::compositionsCompositions of an integer
combinat::modStirlingModified Stirling numbers
combinat::partitionsPartitions of an integer
combinat::permutePermutations of a list
combinat::powersetSubsets of a set
combinat::stirling1Stirling numbers of the first kind
combinat::stirling2Stirling numbers of the second kind
combinat::subwordsSubwords of a word

Topics

Combinatorics

Use only in the MuPAD Notebook Interface.