Computes the integer division of two arrays. The syntax for its use is
y = idiv(a,b)
where a and b are arrays or scalars. The effect of the idiv
is to compute the integer division of b into a.
The following examples show some uses of idiv
arrays.
--> idiv(27,6)
ans =
<int32> - size: [1 1]
4
--> idiv(4,-2)
ans =
<int32> - size: [1 1]
-2
--> idiv(15,3)
ans =
<int32> - size: [1 1]
5