Skip to content

Array Operations

Built-in functions › Mathematics › Array Operations

18 functions in this category.

FunctionWhat it does
allTest whether all elements of an array are nonzero.
anyTest whether any element of an array is nonzero.
crossCross product of two 3-element vectors.
ctransposeConjugate transpose (A').
cumprodCumulative product along a dimension.
cumsumCumulative sum along a dimension.
dotVector or array dot product.
horzcatHorizontal concatenation ([A, B]).
idivideInteger division with controllable rounding.
mldivideMatrix left division (A \ B).
mpowerMatrix power (A ^ B).
mrdivideMatrix right division (A / B).
mtimesMatrix multiplication (A * B).
prodProduct of array elements.
sumSum elements of an array.
trilLower-triangular part of a matrix.
triuUpper-triangular part of a matrix.
vertcatVertical concatenation ([A; B]).