The block maps each input value to a quantization region by comparing the input value to the user-specified boundary poi

Post Reply
omidrostaei
Posts: 11027
Joined: Thu Feb 25, 2021 5:12 pm
Contact:

The block maps each input value to a quantization region by comparing the input value to the user-specified boundary poi

Post by omidrostaei »

The block maps each input value to a quantization region by comparing the input value to the user-specified boundary points. Then, the block outputs the index of the associated region. If you want the block to output the quantized value or the associated quantization error, you must provide the codebook. If the Codebook parameter is defined as [c1 c2 c3 ... cN] and the Boundary points parameter is denoted by [p0 p1 p2 p3 ... pN], then p0 must be less than c1 which must be less than p1 which must be less than c2 and etc. through pN for a regular quantizer. If your quantizer is bounded, you need to specify [p0 p1 p2 p3 ... pN]. For any input less than p0 or greater than pN, you can optionally output the clipping status. If your quantizer is unbounded, you need to specify [p1 p2 p3 ... p(N-1)] and the block sets p0=-Inf and pN = +Inf. You must enter the boundary points in ascending order.


SQ_VQ_EncDec_BlockDialog
Post Reply

Return to “DSP System Toolbox”

Who is online

Users browsing this forum: No registered users and 1 guest