Skip to content

rdivide

Elementwise (right) division

rdivide(B, A)

B./A

  • 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.