Skip to content
Snippets Groups Projects
Commit 538f38d2 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'occbin_debug' into 'master'

missing_observations_kalman_filter.m: provide debugging information on PKF problems

See merge request !2122
parents cfaf5a68 4307711c
Branches
Tags
1 merge request!2122missing_observations_kalman_filter.m: provide debugging information on PKF problems
Pipeline #8015 passed
......@@ -234,6 +234,9 @@ while notsteady && t<=last
occbin_options.opts_simul.waitbar=0;
[ax, a1x, Px, P1x, vx, Tx, Rx, Cx, regimes_(t:t+2), info, M_, likx] = occbin.kalman_update_algo_1(a0(:,t-1),a1(:,t-1:t),P0(:,:,t-1),P1(:,:,t-1:t),data_index(t-1:t),Z,vv(:,t-1:t),Y(:,t-1:t),H,Qt,T0,R0,TT(:,:,t-1:t),RR(:,:,t-1:t),CC(:,t-1:t),regimes_(t:t+1),M_,oo_,options_,occbin_options);
if info
if options_.debug
fprintf('\nmissing_observations_kalman_filter:PKF failed with: %s\n', get_error_message(info,options_));
end
return
end
if options_.occbin.likelihood.use_updated_regime
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment