Mercurial > hg > flst
view matlab/flstUpdateTransition.m @ 1:4283604499f8 tip
added mini probability to delta (not sure if this is a good idea, but I did it)
author | matthiasm |
---|---|
date | Mon, 10 Nov 2014 19:38:49 +0000 |
parents | 1df4a6fb0d22 |
children |
line wrap: on
line source
function d = flstUpdateTransition(d, transMat, thresh) if nargin < 3 thresh = eps; end [d.from, d.to] = find(transMat > thresh); temp = find(transMat(:) > thresh); d.prob = transMat(temp); d.nTrans = length(d.prob);