convnorm.m

来自「Mathematical Methods by Moor n Stiling.」· M 代码 · 共 9 行

M
9
字号
function d = convnorm(branch,input,state,nextstate)
%
% Compute the Hamming distance between the branchweights and the input
% This function may be feval'ed for use with the Viterbi algorithm
% (state and nextstate are not used here)
% 
% function d = convnorm(branch,input,state,nextstate)
% 
d = sum(r ~= branch)

⌨️ 快捷键说明

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