Initializes the s variable

time-shift
Ferhat Mihoubi 2012-07-01 15:19:36 +02:00
parent 4488357f59
commit 307d5d5d6a
2 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,8 @@ LIK = Inf; % Default value of the log likelihood.
oldK = Inf;
notsteady = 1;
F_singular = 1;
s = 0;
while notsteady & t<=last
s = t-start+1;
d_index = data_index{t};

View File

@ -70,6 +70,7 @@ oldK = Inf;
if isequal(H,0)
H = zeros(pp,pp);
end
s = 0;
while rank(Pinf,kalman_tol) && (t<=last)
s = t-start+1;