FUNCTION REFERENCE
idivide
Integer division with a chosen rounding.
Integer division with a chosen rounding.
Syntax
idivide(A, B), idivide(A, B, OPT)At least one input is an integer array; the other is the same class or a scalar double. OPT is 'fix' (the default), 'round', 'floor' or 'ceil'. Division by zero saturates.
Example
q = idivide(int32(7), int32(2), 'floor')Differences from MATLAB: none known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.