errpdf
Probability density function of quantization error
Syntax
[f,x] = errpdf(q)
f = errpdf(q,x)
Description
[f,x] = errpdf(q)
returns the probability
density function f
evaluated at the values in x
.
The vector x
contains the uniformly distributed
random quantization errors that arise from quantizing a signal by quantizer
object q
.
f = errpdf(q,x)
returns the probability
density function f
evaluated at the values in vector x
.
Note
The results are not exact when the signal precision is close
to the precision of the quantizer
.
Examples
Version History
Introduced in R2008a