Addition, subtraction, multiplication, division, power, rounding


plus Addition
uplus Unary plus
minus Subtraction
uminus Unary minus
times Element-wise multiplication
rdivide Right array division
ldivide Left array division
power Element-wise power
mtimes Matrix Multiplication
mrdivide Solve systems of linear equations xA = B for x
mldivide Solve systems of linear equations Ax = B for x
mpower Matrix power
cumprod Cumulative product
cumsum Cumulative sum
diff Differences and Approximate Derivatives
prod Product of array elements
sum Sum of array elements
ceil Round toward positive infinity
fix Round toward zero
floor Round toward negative infinity
idivide Integer division with rounding option
mod Remainder after division (modulo operation)
rem Remainder after division
round Round to nearest decimal or integer
Was this topic helpful?