Simple linear signal prediction

1 Ansicht (letzte 30 Tage)
Serge
Serge am 24 Nov. 2012
Hello, I'm trying to build simple linear prediction model. I have no problem to find coefficients(lpc function), but combining them with signal is a bit of a problem - is there a way to calculate them without loops (for/while)? Formula : X(m)= a_1*x(m-1)+a_2*x(m-2)+....+a_k*x(m-k) X - predicted value x - signal value a - prediction coefficient
I've seen that, there is a solution with filters (at leats filter function), but there is no normal explanation so far.
I'm new to this site, and have little experience with matlab, therefore I'm sorry if this question is little bit simple.
In addition, I wonder how close can I predict next value of signal(by using any type of prediction - not only linear)?
Thank you!!
  1 Kommentar
Greg Heath
Greg Heath am 24 Nov. 2012
Calculate the crosscorrelation function xcorr, crosscor, or nncorr to see how many lags it takes to drop from 1 to exp(-1). This is the conventional decorrelation time. However, you can use any other reasonable value (e.g., 0.2).

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Greg Heath
Greg Heath am 12 Aug. 2013
After determining the number of significant delays from the autocorrelation function, use TIMEDELAYNET.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by