Skip to content


Elementwise (left) division

ldivide(A, B)


  • A and B should be arrays of the same sizes, or one of them is a scalar.
  • Each element of B is divided by the corresponding element of A.
  • If one of the input arguments is a scalar, this scalar would be expanded to a constant array having the same size as the other input argument.