Mean square quantization error (MSQE) is a
figure of merit
A figure of merit is a quantity used to characterize the performance of a device, system or method, relative to its alternatives. Examples
*Clock rate of a CPU
*Calories per serving
*Contrast ratio of an LCD
*Frequency response of a speaker
* Fi ...
for the process of
analog to digital conversion.
In this conversion process, analog signals in a
continuous range of values are converted to a discrete set of values by comparing them with a sequence of thresholds.
The quantization error of a signal is the difference between the original continuous value and its discretization, and the mean square quantization error (given some
probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomeno ...
on the input values) is the
expected value
In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a ...
of the square of the quantization errors.
Mathematically, suppose that the lower threshold for inputs that generate the quantized value
is
, that the upper threshold is
, that there are
levels of quantization, and that the
probability density function
In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) c ...
for the input analog values is
. Let
denote the quantized value corresponding to an input
; that is,
is the value
for which