| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Communications Toolbox |
| Contents | Index |
| Learn more about Communications Toolbox |
sig = dpcmdeco(indx,codebook,predictor)
[sig,quanterror] = dpcmdeco(indx,codebook,predictor)
sig = dpcmdeco(indx,codebook,predictor) implements differential pulse code demodulation to decode the vector indx. The vector codebook represents the predictive-error quantization codebook. The vector predictor specifies the predictive transfer function. If the transfer function has predictive order M, predictor has length M+1 and an initial entry of 0. To decode correctly, use the same codebook and predictor in dpcmenco and dpcmdeco.
See Representing Partitions, Representing Codebooks, or the quantiz reference page, for a description of the formats of partition and codebook.
[sig,quanterror] = dpcmdeco(indx,codebook,predictor) is the same as the syntax above, except that the vector quanterror is the quantization of the predictive error based on the quantization parameters. quanterror is the same size as sig.
Note You can estimate the input parameters codebook, partition, and predictor using the function dpcmopt. |
See Example: DPCM Encoding and Decoding and Example: Comparing Optimized and Nonoptimized DPCM Parameters for examples that use dpcmdeco.
quantiz, dpcmopt, dpcmenco, Differential Pulse Code Modulation
[1] Kondoz, A. M., Digital Speech, Chichester, England, John Wiley & Sons, 1994.
![]() | doppler.rounded | dpcmenco | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |