MATLAB Function Reference Previous page   Next Page
ldivide, rdivide

Left or right array division

Syntax

Description

ldivide(A,B) and the equivalent A.\B divides each entry of B by the corresponding entry of A. A and B must be arrays of the same size. A scalar value for either A or B is expanded to an array of the same size as the other.

rdivide(A,B) and the equivalent A./B divides each entry of A by the corresponding entry of B. A and B must be arrays of the same size. A scalar value for either A or B is expanded to an array of the same size as the other.

Example

See Also

Arithmetic operators, mldivide, mrdivide


Previous page  lcm le Next page

© 1994-2005 The MathWorks, Inc.