Skip to content

Arithmetic Operations

Built-in functions › Mathematics › Elementary Math › Arithmetic Operations

13 functions in this category.

FunctionWhat it does
atan2Four-quadrant arctangent.
atan2dFour-quadrant arctangent in degrees.
hypotSquare root of sum of squares (numerically stable).
ldivideElement-wise left division (function form of .\).
maxbElement-wise maximum of two arrays (kernel-level).
minbElement-wise minimum of two arrays (kernel-level).
minusElement-wise subtraction (function form of -).
modModulo operation (positive result).
plusElement-wise addition (function form of +).
powerElement-wise exponentiation (function form of .^).
rdivideElement-wise right division (function form of ./).
remRemainder of division (truncated, sign of dividend).
timesElement-wise multiplication (function form of .*).