y = unitquantize(q,x)
uses the quantizer object q to
quantize numeric data in x. unitquantize works in
the same way as quantize except that numbers within eps(q) of +1 are made exactly equal to
+1.
x — Data to quantize scalar | vector | matrix | multidimensional array | cell array | structure
Data to quantize, specified as a scalar, vector, matrix, multidimensional array,
cell array, or structure.
When x is a numeric array, each element of
x is quantized.
When x is a cell array, each numeric element of the cell
array is quantized.
When x is a structure, each numeric field of
x is quantized.
unitquantize does not change nonnumeric elements or fields of
x, nor does it issue warnings for nonnumeric values. Numbers
within eps(q) of
+1 are made exactly equal to +1.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.