Main Content

rc2lar

Convert reflection coefficients to log area ratio parameters

Description

g = rc2lar(k) returns the log area ratio parameters g from the reflection coefficients k.

example

Examples

collapse all

Define a vector, k, of reflection coefficients and compute the log area ratio parameters.

k = [0.3090 0.9801 0.0031 0.0082 -0.0082];
g = rc2lar(k)
g = 1×5

    0.6389    4.6002    0.0062    0.0164   -0.0164

Input Arguments

collapse all

List of reflection coefficients, specified as a vector or as a matrix.

Data Types: single | double

Output Arguments

collapse all

Log area ratio parameters, returned as a vector or as a matrix, where g = -2*atanh(-k).

References

[1] Deller, John R., John G. Proakis, and John H. L. Hansen. Discrete-Time Processing of Speech Signals. New York: Macmillan, 1993.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced before R2006a

expand all

See Also