Skip to content

rdivide

Element-wise right division (function form of ./).

C = rdivide(A, B)

Returns A ./ B applied elementwise. Each element of A is divided by the corresponding element of B.

rdivide([10 20 30], [2 4 5]) % [5 5 6]
  • ldivide — Element-wise left division (function form of .\).
  • mrdivide — Matrix right division (A / B).
  • idivide — Integer division with controllable rounding.