📄 arithscale.m
字号:
function arithscale()
clc;
fid=fopen('seq.txt','r');
seq=fread(fid,'*char');
fclose(fid);
seq=reshape(seq,1,length(seq));
[alpha prob]=probmodel(seq);
if ~isempty(alpha)
[tag mnm]=arithscalecod(alpha,prob,seq);
disp(strcat('Tag =',tag));
seq=arithscaledecod(tag,alpha,prob,length(seq),mnm);
disp('Sequence = ');
disp(seq);
else
display('Empty Sequence....');
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -