To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / matlab / flstUpdateTransition.m @ 0:1df4a6fb0d22

History | View | Annotate | Download (221 Bytes)

1
function d = flstUpdateTransition(d, transMat, thresh)
2

    
3
if nargin < 3
4
    thresh = eps;
5
end
6

    
7
[d.from, d.to] = find(transMat > thresh);
8
temp = find(transMat(:) > thresh);
9
d.prob = transMat(temp);
10
d.nTrans = length(d.prob);