Operations on Numbers

Quotient and remainder, rounding numbers, real and imaginary components of complex numbers


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

ceilRound up to the next integer
floorRound down to the next integer
conjugateComplex conjugation
fracFractional part of a number
groundGround term (constant coefficient) of a polynomial
ImImaginary part of an arithmetical expression
maxMaximum of numbers
minMinimum of numbers
misc::pslqHeuristic detection of relations between real numbers
numeric::complexRoundRound a complex number towards the real or imaginary axis
numeric::rationalizeApproximate a floating-point number by a rational number
ReReal part of an arithmetical expression
roundRounding to the nearest integer
truncRounding towards zero


The misc Library

Use only in the MuPAD Notebook Interface.

Numeric Algorithms Library

Use only in the MuPAD Notebook Interface.