fi
quantizer
Quantized relative accuracy for fi or quantizer objects
d = eps(a)
d = eps(q)
example
d = eps(a) returns the value of the least significant bit value of the fi object a. The result of this function is equivalent to that given by the Fixed-Point Designer™ function lsb.
d
a
lsb
d = eps(q) returns the value of the least significant bit of the value of the quantizer object q.
q
collapse all
a = fi(pi, 1, 8) eps(a)
ans = 0.1250
q = quantizer('fixed',[6 3]); eps(q)
Input fi object.
Data Types: fi
Input quantizer object.
Usage notes and limitations:
Code generation supports scalar fixed-point signals only.
Code generation supports scalar, vector, and matrix, fi single and fi double signals.
Supported for scalar fixed-point signals only.
Supported for scalar, vector, and matrix, fi single and fi double signals.
fi | intmax | intmin | lowerbound | lsb | quantizer | range | realmax | realmin | upperbound
intmax
intmin
lowerbound
range
realmax
realmin
upperbound