Simple linear signal prediction
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Greg Heath
el 24 de Nov. de 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).
Respuesta aceptada
Greg Heath
el 12 de Ag. de 2013
After determining the number of significant delays from the autocorrelation function, use TIMEDELAYNET.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!