Member of the modeling and prediction class.
a = lpc(c, n)
[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. |
x = sin([0:0.1:10]);
n = 5;
y = lpc(x, n)