This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Complex Numbers

Real and imaginary components, absolute value, polar angle

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

absAbsolute value of a real or complex number
argArgument (polar angle) of a complex number
ReReal part of an arithmetical expression
ImImaginary part of an arithmetical expression
signSign of a real or complex number
signImSign of the imaginary part of a complex number

Topics

Floating-Point Arguments and Function Sensitivity

Particular choices of parameters can reduce some special functions to simpler special functions, elementary functions, or numbers.