This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

vectorize

Vectorize expression

Syntax

vectorize(c)
vectorize(f)

Description

vectorize(c), where c is a character row vector or string scalar, inserts a . before any ^, * or / in c. The result is a character row vector.

Note

vectorize will not accept inline function objects (f) in a future release.

vectorize(f) where f is an inline function object, vectorizes the formula for f. The result is the vectorized version of the function.

See Also

| | | | | | |

Introduced before R2006a