% ------------------------------
% log-probability of sequences

function [lik] = evalhmm(X,hmm)

[L,n] = size(X);

lik = [];
for l=1:L,
  a = alpha(X(l,:),hmm); 
  lik = [lik;log(sum(a(:,n)))];
end;


