Simple linear signal prediction

조회 수: 4 (최근 30일)
Serge
Serge 2012년 11월 24일
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
Greg Heath
Greg Heath 2012년 11월 24일
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).

댓글을 달려면 로그인하십시오.

채택된 답변

Greg Heath
Greg Heath 2013년 8월 12일
After determining the number of significant delays from the autocorrelation function, use TIMEDELAYNET.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by