The LSB is the finite voltage span divided by the number of codes.

The LSB is the finite voltage span divided by the number of codes. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

Eight volts over eight codes gives one volt

Voltage span 8 V divided by 8 finite codes gives LSB 1 V.

8 V/8=1 V8\ \text{V}/8=1\ \text{V}
Quantization step scanRange and LSB vectors are checked.rangelsb

The same span over sixteen codes gives one half

Voltage span 8 V divided by 16 finite codes gives LSB 1/2 V.

8 V/16=12 V8\ \text{V}/16={1\over 2}\ \text{V}
Quantization step scanRange and LSB vectors are checked.rangelsb

A wider span over fewer codes gives two volts

Voltage span 12 V divided by 6 finite codes gives LSB 2 V.

12 V/6=2 V12\ \text{V}/6=2\ \text{V}
Quantization step scanRange and LSB vectors are checked.rangelsb