机构地区: 河南理工大学,河南焦作454000
出 处: 《中小企业管理与科技》 2017年第25期157-158,共2页
摘 要: 通过MATLAB的图形用户界面对香农编码过程进行设计制作,完成要求如下:输入任意符号文本,计算出每个符号的概率,同时计算出信源熵,通过香农编码的方法为每个符号进行编码,并显示在界面中,最后计算得出编码效率。该方法使得操作过程更加方便,计算结果更加直观。 The Shannon Coding process is designed by MATLAB graphical user interface,and the requirements are as follows entering any symbolic text, calculatingthe probability of each symbol, and calculatingthe entropy ofthe source , usingthe method ofShannon Codingto encode for each symbol, and displayingthem in the interface , finally, calculatingthe encoding efficiency . This method makes the operation process more convenient and the calculationresults more intuitive .