Main Content
quantize
Quantize fixed-point numbers
quantize
is not recommended. Use cast
, zeros
, ones
, eye
, or subsasgn
instead. For more information, see Version History.
Syntax
Description
Quantize Using a numerictype
Object
quantizes the input y
= quantize(x
)x
values using the default settings.
The numerictype
, rounding method, and
overflow action apply only during the quantization. The output y
does
not have an attached fimath
.
Quantize by Specifying Numeric Type Properties
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006aSee Also
fi
| numerictype
| cast
| zeros