I am sorry ,at first ,我上载了一个错误的文件,那个是监测自己是否有联网的,现在这个才是监测自己是否有硬盘、U盘、光盘等存在电脑里。
上传时间: 2014-01-12
上传用户:zuozuo1215
实现最优二叉树的构造;在此基础上完成哈夫曼编码器与译码器。 假设报文中只会出现如下表所示的字符: 字符 A B C D E F G H I J K L M N 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 频度 63 15 1 48 51 80 23 8 18 1 16 1 6 2 要求完成的系统应具备如下的功能: 1.初始化。从终端(文件)读入字符集的数据信息,。建立哈夫曼树。 2.编码:利用已建好的哈夫曼树对明文文件进行编码,并存入目标文件(哈夫曼码文件)。 3.译码:利用已建好的哈夫曼树对目标文件(哈夫曼码文件)进行编码,并存入指定的明文文件。 4.输出哈夫曼编码文件:输出每一个字符的哈夫曼编码。
上传时间: 2014-11-23
上传用户:shanml
function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent for U max_iter = 100 % Max. iteration min_impro =1e-5 % Min. improvement c=3 [center, U, obj_fcn] = fcm(data, c) for i=1:max_iter if F(U)>0.98 break else w_new=eye(in_n,in_n) center1=sum(center)/c a=center1(1)./center1 deta=center-center1(ones(c,1),:) w=sqrt(sum(deta.^2)).*a for j=1:in_n w_new(j,j)=w(j) end data1=data*w_new [center, U, obj_fcn] = fcm(data1, c) center=center./w(ones(c,1),:) obj_fcn=obj_fcn/sum(w.^2) end end display(i) result=zeros(1,data_n) U_=max(U) for i=1:data_n for j=1:c if U(j,i)==U_(i) result(i)=j continue end end end
标签: data function Exponent obj_fcn
上传时间: 2013-12-18
上传用户:ynzfm
I wrote the rotary encoder procedures, using C51, with disruption of 0 to achieve and very easy to use, no error.
标签: disruption procedures encoder achieve
上传时间: 2014-01-06
上传用户:refent
Its a project that i create. The program its like an helpdesk, that allows the user to introduce requests and manage them. The data is saved in .dat files and in .txt files. The main file, the u should run is: n2006131015_Main
标签: that introduce helpdesk project
上传时间: 2013-12-06
上传用户:1159797854
CSNG-I 伽马能谱,自然伽马能谱图,U,Th,K
标签: CSNG-I 伽马能谱
上传时间: 2015-04-13
上传用户:longge
U盘芯片检测工具,应i实心板,可以检测是哪种芯片的U盘。
上传时间: 2016-06-09
上传用户:ipodtouch
μi - GAP - AL 自动计算的软件.xls
上传时间: 2013-06-08
上传用户:eeworm
STM32-U盘 超清版
上传时间: 2013-04-15
上传用户:eeworm
针对应用的发光二极管(LED)I-V 特性测量
上传时间: 2013-04-15
上传用户:eeworm