Given a length-n vector (the elements of vector describe samples of any time changes).
There are $m$ elements, and other values $n-m$ (coming right after the first n elements)
I need to predict what their value of other $n-m$ elements .
I would like to know which prediction method is recommended to use for solving the above problem?
for example:
%create vector of sampling
Fs= 1/200;
n=200;
m=50;
t=0:Fs:2*pi;
x=sin(t);
%call prediction function
fprediction(x, Fs ,m); % x:vector, Fs: frequency sampling, m:number of element to predict
...
I need to predict what their value of other n−m (50) elements, relying only on the first 150 elements .
Comment:
The use in sampling rate to resolve the problem is optional
Thanks