DigComT

adpcm_e

DirectoryDOS NameType
Compress adpcm_e mex-file

Purpose

ADPCM (adaptive differential pulse code modulation) encoding

Calling Sequence

I = adpcm_e(x, M) or [I, pn, Gn] = adpcm_e(x, [M, mu], p1, G1)

INPUTS

Input Description
1 x
data
2 M
number of bits
3 mu
mu-law companding parameter (>= 0, 0 - no companding)
4 p1
starting prediction
5 G1
starting gain

OUTPUTS

Output Description
1 I
encoding of x (range 0:2^M-1)
2 pn
ending prediction
3 Gn
ending gain

Notes

Also: [y, pn, Gn, GV] = adpcm_e(x, M, p1, G1, A)
    where:
A - gain adaption numbers (must be a power of 2 in length)
GV - all the gain values (a vector)
DigComT Manual Table of Contents DigComT Manual Native Intelligence Home

DigComT Licensee: Chris Heegard 
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000

Copyright © 1997-2000, Native Intelligence, All rights reserved.