Skip to main content

linear_predictive_coding

Function linear_predictive_coding 

Source
pub fn linear_predictive_coding(
    x: &[f64],
    order: usize,
) -> Result<LpcResult, ErrorsJSL>
Expand description

LPC analysis of x by the autocorrelation method.

order must be at least 1 and less than the signal length. An all-zero signal is rejected because it has no defined predictor.