Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

lpc (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: modeling and prediction

Requires: MathScript RT Module


a = lpc(c)

a = lpc(c, n)

[a, b] = lpc(c)

[a, b] = lpc(c, n)


Performs linear prediction coding.



Name Description
c Specifies the signal. c is a vector.
n Specifies the order of the forward predictor for the signal c. The default is length(c) - 1.


Name Description
a Returns the coefficients of the forward predictor.
b Returns the variance of the prediction error.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


x = sin([0:0.1:10]);
n = 5;
y = lpc(x, n)


 Was this document helpful?  submit
  Helpful Not Helpful