This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Scaling of least significant bit of fi object, or value of least significant bit of quantizer object


b = lsb(a)
p = lsb(q)


b = lsb(a) returns the scaling of the least significant bit of fi object a. The result is equivalent to the result given by the eps function.

p = lsb(q) returns the quantization level of quantizer object q, or the distance from 1.0 to the next largest floating-point number if q is a floating-point quantizer object.


This example uses the lsb function to find the value of the least significant bit of the quantizer object q.

 q = quantizer('fixed',[8 7]);
 p = lsb(q)

p =


Extended Capabilities

Introduced before R2006a