?? huffadapt.m
字號:
function huffadapt()
clc;
fid=fopen('seq.txt','r');
seq=fread(fid,'*char');
fclose(fid);
seq=reshape(seq,1,length(seq));
[alpha prob]=probmodel(seq);
btag=huffadaptencod(alpha,seq);
disp(strcat('Tag =',btag));
seq=huffadaptdecod(alpha,btag);
disp(strcat('Sequence =',seq));
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -