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

📄 arithint.m

📁 一个详尽的算术编码的matlab仿真程序。
💻 M
字号:
function arithint()
clc;
fid=fopen('seq1.txt','r');
seq=fread(fid,'*char');
fclose(fid);
seq=reshape(seq,1,length(seq));
[alpha cnt]=countmodel(seq);
if ~isempty(alpha)
    btag=arithintcod(alpha,cnt,seq);
    disp(strcat('Tag =',btag));
    seq=arithintdecod(btag,alpha,cnt,length(seq));
    disp('Sequence = ');
    disp(seq);
else
    display('Empty Sequence....');
end
end

⌨️ 快捷键说明

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