⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hmmnorm.m

📁 Mathematical Methods by Moor n Stiling.
💻 M
字号:
function d = hmmnorm(branchweight,y,state,nextstate)
% 
% Compute the branch norm for the HMM using the Viterbi approach
%
% function d = hmmnorm(branchweight,y,state,nextstate)
%
% branchweight= log transition probability 
% y = output
% state = current state in trellis
% nextstate = next state in trellis
%
% d = branch norm (log-likelihood)

% Copyright 1999 by Todd K. Moon

global vHMM;
pout = hmmf(y,vHMM.f,state);
if(pout==0)
  lp = -realmax;
else
  lp = log(pout);
end
d = branchweight - lp;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -