Main Content

lar2rc

Convert log area ratio parameters to reflection coefficients

Description

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

example

Examples

collapse all

Given a vector, g, of log area ratio parameters, determine the corresponding vector of reflection coefficients.

g = [0.6389 4.5989 0.0063 0.0163 -0.0163];
k = lar2rc(g)
k = 1×5

    0.3090    0.9801    0.0031    0.0081   -0.0081

Input Arguments

collapse all

Log area ratio parameters, specified as a vector or as a matrix.

Data Types: single | double

Output Arguments

collapse all

List of reflection coefficients, returned as a vector or as a matrix, where k = -tanh(-g/2).

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

| | |