fixed.fimathLike
Syntax
Description
returns F = fixed.fimathLike(X)fimath object F with
ProductMode and SumMode set to the same fixed-point
arithmetic properties as the input X, where X is a
fi object or numerictype object.
By default, RoundingMethod is set to 'Floor' and
OverflowAction is set to 'Wrap'. For fixed-point
inputs, this function supports binary-point scaling and slope-bias scaling. If
X is not a fi object or
numerictype object, then empty is returned.
specifies the rounding method to use.F = fixed.fimathLike(X,roundingMethod)
specifies the rounding method and overflow action to use.F = fixed.fimathLike(X,roundingMethod,overflowAction)
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022b
See Also
setfimath | fimath | fi | numerictype