The method can be described by the following equations, in which u(n) is the scale factor of the n-th sample, y(n) is the logarithm of u(n), D(n) is the prediction difference of the n-th sample, I(n) is the quantized value of D(n), W is a weighting function, and d is a constant between zero and one (0<??<1).