?? metric.m
字號:
%metric.m
%viterbi解碼子程序
function distance=metric(x,y)
if x==y
distance=0;
else
distance=1;
end
%switch(y)
%case 0
%if x==0
%distance=0.0458;
%end哈爾濱工業大學工學碩士學位論文
%if x==1
%distance=2;
%end
%if x==2;
%distance==1.0458;
%end
%case 1
%if x==0
%distance==2;
%end
%if x==1
%distance=0.0458;
%end
%if x==2
%distance=1.0458;
%end
%otherwise,
%break;
%end
%************************end of file***********************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -