Main Content
Divide by Constant and Round
Libraries:
Fixed-Point Designer
Description
The Divide by Constant and Round block outputs the result of dividing the input by a constant and rounds the result to an integer using the specified rounding method.
The Divide by Constant and Round block uses an algorithm that is functionally similar to the Granlund-Montgomery-Warren Method. The division operation is computed via a multiplication by inverse, which generally results in better performance on embedded systems.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2021a