/=

Division assignment operator.

Syntax

var_name /= sca_expr

Operands

var_name
A scalar variable.
sca_expr
A valid scalar expression.

Example

Expression Result
a /= 2 , where a = 2 1
a /= 0.5 , where a = 2 4

Comments

The division assignment operator divides the value of var_name by sca_expr. The value of sca_expr must be nonzero. This operator is typically used in loop constructs.

The division assignment operator is not valid when used with curve-editing functions.