Operators > Matrix Operators > Vectorize Operator
Vectorize Operator
Applies operators and functions element-wise to vectors or matrices.
Operands
M is a math expression.
Watch this video to learn more about the vectorize operator.
Additional Information
The vectorize operator affects all operators in the expression. For more information, see Example: Vectorize Operator.
The vectorize operator performs iterative calculations without using a range variable.
Since operations between two arrays are performed element by element, all arrays under a vectorize operator must have the same size. Operations between an array and a scalar are performed by applying the scalar to each element of the array.
Was this helpful?