codebookexe

Produce quantization index and quantized output value

You are now following this Submission

index = quantiz(sig,partition) returns the quantization levels of input signal sig by using the scalar quantization partition specified in input partition.
[index,quants] = quantiz(sig,partition,codebook) specifies codebook, which prescribes a value for each partition in the scalar quantization. codebook is a vector whose length must exceed the length of partition by one. The function also returns quants, which contains the scalar quantization of sig and depends on the quantization levels and prescribed values in the codebook.
[index,quants,distor] = quantiz(sig,partition,codebook) returns an estimate of the mean square distortion of the quantization data.

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0