comparison toolboxes/FullBNT-1.0.7/bnt/inference/online/@hmm_2TBN_inf_engine/backT.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function b = backT(engine, f, t)
2
3 b.t = t;
4 b.obslik = f.obslik;
5 Q = length(f.alpha);
6 b.beta = ones(Q,1);
7 b.gamma = f.alpha;
8 if t > 1
9 bb_t = b.obslik;
10 b.xi = normalise((engine.transprob .* (f.past_alpha * bb_t'))); % T-1,T
11 end