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 want to provide an example file system driver for Windows NT/2000/XP. For some time I have worked on an implementation of RomFs. RomFs is a small filesystem originally implemented in Linux, because of its simple disk layout its a good choice for an example driver. The current status is a working read-only driver that supports caching of file data, the create functionallity still needs some work but I m releasing it due to the high public demand.
标签: provide Windows example driver
上传时间: 2013-12-19
上传用户:zsjzc
Visual 开发 希望对你们有帮助 public static int Rom(int n, int m)//双寄或双偶 { int count = 0 //第一排Y坐标上要几个 if (n < m) { for (int i = 1 i <= n i = i + 2) { count++ } } else { for (int j = 1 j <= m j = j + 2) { count++ } } return count }
上传时间: 2013-12-13
上传用户:懒龙1988
To review what a metaball is, and how to render them and to describe a new optimization I ve made for rendering metaballs. For complex scenes, it can render hundreds of times faster, though I m certain others have discovered this trick as well. It does very slightly change the characteristic shape of the blobs, but there is no loss in image quality whatsoever. (I actually developed all this about two years ago, but just now felt like writing it all down, and had the time!)
标签: optimization and metaball describe
上传时间: 2013-12-27
上传用户:彭玖华
设某物质有m个产地,n个销地,如果以 aij 表示由第 i 个产地销往第 j 个销地的数量,则这类物质的调运方案,可用一个数表表示如下
标签:
上传时间: 2013-12-21
上传用户:yuanyuan123
生成Trick文件工具 1.Open command line 2.input tricktest Usage: TrickTest -f -o -i -f source mpeg2 file to trick -o trick output directory -i output file id -m max coding error, default 0 -b max bitrate for trick generate, default 0 mean no limit -s trick buffer block size, must be n*188 -l log file, default c:\tricktest.log example: tricktest -f 黑鹰行动.mpg -o c:\temp -i A -m 1000 -b 3750000 soure file: 黑鹰行动.mpg output directory: c:\temp filename: 000000A,000000A.ff,000000A.fr,000000A.vvx max coding error: 1000 trick generation speed: 3750000 bps a
标签: TrickTest tricktest command source
上传时间: 2014-01-23
上传用户:水口鸿胜电器
This is a program that I wrote many years ago. It is a floppy disk , disk copy,disk info,and format program. All written in masm assembler. There is also a small 252 byte driver that allows nonstandard floppy formats on dos systems below 7.0. Floppies can be formatted in any track and sector layout. 1.44M floppies can be formatted to 1.76 M. All source code,includes and libraries are included. Modify the bld.bat file to your own needs. There are many asm tricks in the source code. Have fun with this old code.
标签: disk program floppy format
上传时间: 2013-12-21
上传用户:woshini123456
The zip file contais a sample program to check the sybase database connectivity. I ve attached the makefile as well for compilation on windows. Usage : test_conn <sybaseservername> <dbname> <username>
标签: connectivity the attached database
上传时间: 2017-06-28
上传用户:luke5347
题目:加密软件 要求:(1)输入任意一段明文M,以及密钥K (2)根据一下公式将其转换为密文C。 Ci = mi + K ,其中i = 0,1,……n-1 , K 为密钥; (3)具有输入输出界面。
上传时间: 2013-11-25
上传用户:shawvi
探讨了在 Mh T I AB环境中实现遗传算法仿真 的方法 , 并 以一个 简单的求函数最值的问 题作为遗传算法的应用实铡, 说明遗传算法的全局寻优性及用 M AI I AB实现仿真的可行性。
上传时间: 2014-08-19
上传用户:牛津鞋