freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

信息論與編碼課程設(shè)計(jì)(編輯修改稿)

2025-08-20 07:20 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 the above mentioned ones.Average students need to make their resumes specially, so they can have the chance. They can describe their characteristic to fit the job, the employers will see this and give you the chance. Students can also make their internship experience stand out, because the employers pay special attention to it.The job pressure is heavy for every graduate student, if the students take the wise strategy, they can have more chances to get the job.程序運(yùn)行結(jié)果:總共出現(xiàn)的字符種類: ,.abcdefghijklmnoprstuvwxy’每種字符對(duì)應(yīng)出現(xiàn)的次數(shù): [206 16 11 78 10 33 42 161 10 20 65 53 8 5 16 21 58 64 16 55 80 113 36 20 8 3 20 4]每種字符出現(xiàn)的概率:[ ]信源熵:香農(nóng)編碼程序function c=shannon(p)% p=[ ]。% shannon(p)。[p,index]=sort(p)。p=fliplr(p)。%從大到小n=length(p)。pa=0。%累加概率for i=2:n pa(i)=pa(i1)+p(i1)。 endk=ceil(log2(p))。%碼長(zhǎng)計(jì)算c=cell(1,n)。%生成元胞數(shù)組,存碼字,是cell,跟上一行不一樣for i=1:n c{i}= 39。39。 tmp=pa(i)。 for j=1:k(i) tmp=tmp * 2。 if tmp=1 tmp=tmp 1。 c{i}(j)= 39。139。 else c{i}(j)= 39。039。 end endend%p%pa%交換回原來(lái)的順序c=fliplr(c)。c(index)=c。fprintf(39。信源信息熵:\n39。)。H=sum(p.*log2(p))%計(jì)算信源熵fprintf(39。平均碼長(zhǎng):\n39。)。K=sum(p.*k)%計(jì)算平均碼長(zhǎng)fprintf(39。編碼效率:\n39。)。w=H./K%計(jì)算編碼效率fprintf(39。碼字:\n39。)。c程序運(yùn)行結(jié)果: p=[ ]。shannon(p)。信源信息熵:H = 平均碼長(zhǎng):K = 編碼效率:w = 碼字:c = 39。0139。 39。0039。 39。10039。 39。10139。 39。110139。 39。1111039。 費(fèi)諾編碼程序主程序function c=fano1(p)% p=[ ]% c=fano1(p)n=size(p,2)。if n==1 c=cell(1,1)。 c{1}=39。39。 returnend[p,index]=sort(p)。%按概率排序p=fliplr(p)。total=sum(p)。%總概率acc=0。%累積概率flag=0。%是否到達(dá)尾部的標(biāo)志for i=1:n1 newacc=acc+p(i)。
點(diǎn)擊復(fù)制文檔內(nèi)容
語(yǔ)文相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1