Engee documentation

rc2lar

Conversion of reflection coefficients into parameters of the logarithmic ratio of areas.

Library

EngeeDSP

Syntax

Function call

  • g = rc2lar(k) — returns the parameters of the logarithmic ratio of areas g obtained from reflection coefficients k.

Arguments

Input arguments

# k — reflection coefficients

+ vector | the matrix

Details

A list of reflection coefficients specified as a vector or matrix.

Типы данных

Float32, Float64

Output arguments

# g — parameters of the logarithmic ratio of areas

+ vector | the matrix

Details

The parameters of the logarithmic ratio of the areas returned as a vector or matrix, where g = −2 * atanh(−k).

Examples

Parameters of the logarithmic ratio of areas

Details

Set the vector k the reflection coefficients and determine the parameters of the logarithmic ratio of the areas.

import EngeeDSP.Functions: rc2lar

k = [0.3090 0.9801 0.0031 0.0082 -0.0082]
g = rc2lar(k)
1×5 Matrix{Float64}:
 0.638879  4.60018  0.00620002  0.0164004  -0.0164004

Literature

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