matthiasm@0: function d = flstUpdateTransition(d, transMat, thresh) matthiasm@0: matthiasm@0: if nargin < 3 matthiasm@0: thresh = eps; matthiasm@0: end matthiasm@0: matthiasm@0: [d.from, d.to] = find(transMat > thresh); matthiasm@0: temp = find(transMat(:) > thresh); matthiasm@0: d.prob = transMat(temp); matthiasm@0: d.nTrans = length(d.prob);