Initialize state space matrices with occbin smoother, when realtime regimes are computed, otherwise they are set to 0 for t<first_period_occbin_update!
parent
bec52fe731
commit
d3e5e7b8ef
|
@ -212,6 +212,13 @@ else
|
|||
R0=R;
|
||||
|
||||
end
|
||||
if ~isinf(occbin_options.first_period_occbin_update)
|
||||
% initialize state matrices (otherwise they are set to 0 for
|
||||
% t<first_period_occbin_update!)
|
||||
TTT=repmat(T0,1,1,smpl+1);
|
||||
RRR=repmat(R0,1,1,smpl+1);
|
||||
CCC=repmat(zeros(length(T0),1),1,smpl+1);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue