Quantization (signal processing): Difference between revisions

Content deleted Content added
Oarih (talk | contribs)
m +picture
Oarih (talk | contribs)
mNo edit summary
Line 12:
 
In computer audio, a linear scale is most common. If ''x'' is a real valued number between -1 and 1, the quantization operator can therefore be alternately expressed as,
:<math>Q(x) = \operatorname{floorround}(2^{M-1}x)/2^{M-1}</math>
where ''floor()'' returns the highest integer less than or equal to x and M is the number of bits used to quantize the value. Using this quantization law and assuming that quantization noise is [[uniform distribution|uniformly distributed]] (accurate for rapidly varying ''xxx'' or high ''M''), the [[signal to noise ratio]] can be approximated as
:<math>\begin{matrix}\frac{S}{N_q}\end{matrix} \approx (6.02M + 1.76)dB</math>.