Applies operators and functions element-wise to vectors or matrices.
Operands
M is a math expression.
Additional Information
• 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.