Main Content

Right array division

`x = `

divides each element of `A`

./`B`

`A`

by the corresponding element of
`B`

. The sizes of `A`

and
`B`

must be the same or be compatible.

If the sizes of `A`

and `B`

are compatible,
then the two arrays implicitly expand to match each other. For example, if one
of `A`

or `B`

is a scalar, then the scalar is
combined with each element of the other array. Also, vectors with different
orientations (one row vector and one column vector) implicitly expand to form a
matrix.

The element-wise operators

`./`

and`.\`

are related to each other by the equation`A./B = B.\A`

.When dividing integers, use

`idivide`

for more rounding options.MATLAB

^{®}does not support complex integer division.