codebookexe
Version 1.0.0 (1.82 KB) by
Ravianan Esai Meganan
Produce quantization index and quantized output value
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.
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
