I am having trouble with some intuition with quantization, bit-depth, noise floor, dynamic range and signal/noise ratio. Let's say I have two signals, $s_1$ and $s_2$ that are 1hz sine waves, with slightly different amplitudes (8 vs 8.1). The signal is sampled at 8hz and quantized into q1 and q2 as shown below. They quantize to the same samples whether I round, truncate towards zero, floor or ceiling. How is the original amplitude recovered?
$$s_1 = 8.0\sin( 2 \pi t )$$ $$s_2= 8.1\sin( 2 \pi t ) $$
sample(n) | time(t) | s1 | s2 | q1 | q2 |
---|---|---|---|---|---|
0 | 0.000 | 0.000 | 0.000 | 0 | 0 |
1 | 0.125 | 5.657 | 5.728 | 5 | 5 |
2 | 0.250 | 8.000 | 8.100 | 8 | 8 |
3 | 0.375 | 5.657 | 5.728 | 5 | 5 |
4 | 0.500 | 0.000 | 0.000 | 0 | 0 |
5 | 0.625 | -5.657 | -5.728 | -5 | -5 |
6 | 0.750 | -8.000 | -8.100 | -8 | -8 |
7 | 0.875 | -5.657 | -5.728 | -5 | -5 |
8 | 1.000 | 0.000 | 0.000 | 0 | 0 |