Simple linear signal prediction
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Greg Heath
le 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).
Réponse acceptée
Greg Heath
le 12 Août 2013
After determining the number of significant delays from the autocorrelation function, use TIMEDELAYNET.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!