MATLAB® Basic Functions Reference

Addition

+Add numbers, append strings
sumSum of array elements
cumsumCumulative sum
movsumMoving sum

Subtraction

-Subtraction
diffDifferences and approximate derivatives

Multiplication

.*Multiplication
*Matrix multiplication
prodProduct of array elements
cumprodCumulative product
pagemtimesPage-wise matrix multiplication (Since R2020b)
tensorprodTensor products between two tensors (Since R2022a)

Division

./Right array division
.\Left array division
/Solve systems of linear equations xA = B for x
\Solve systems of linear equations Ax = B for x
pagemldividePage-wise left matrix divide (Since R2022a)
pagemrdividePage-wise right matrix divide (Since R2022a)

Powers

.^Element-wise power
^Matrix power

Transpose

.'Transpose vector or matrix
'Complex conjugate transpose
pagetransposePage-wise transpose (Since R2020b)
pagectranspose--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
[uminus](
v










uplus m/help/matlab/ref/uplus.html) athworks.com/help/matlab/ref/uplus.html)
Unary plus