Dirac and Heaviside Functions

Dirac, Kronecker delta, and step functions


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

diracThe Dirac delta distribution
heavisideThe Heaviside step function
kroneckerDeltaKronecker's delta symbol
rectangularPulseRectangular pulse function
rectpulseRectangular pulse function
triangularPulseTriangular pulse function
tripulseTriangular pulse function
Pref::heavisideAtOriginSet value of Heaviside function at origin


Special Functions Available in MuPAD

The following MuPAD functions represent the Dirac δ-distribution and the Heaviside (step) function.

Floating-Point Arguments and Function Sensitivity

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