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
標(biāo)簽: 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.
標(biāo)簽: provide Windows example driver
上傳時間: 2013-12-19
上傳用戶:zsjzc
Visual 開發(fā) 希望對你們有幫助 public static int Rom(int n, int m)//雙寄或雙偶 { int count = 0 //第一排Y坐標(biāo)上要幾個 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 }
標(biāo)簽: int Visual public static
上傳時間: 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!)
標(biāo)簽: optimization and metaball describe
上傳時間: 2013-12-27
上傳用戶:彭玖華
設(shè)某物質(zhì)有m個產(chǎn)地,n個銷地,如果以 aij 表示由第 i 個產(chǎn)地銷往第 j 個銷地的數(shù)量,則這類物質(zhì)的調(diào)運方案,可用一個數(shù)表表示如下
標(biāo)簽:
上傳時間: 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
標(biāo)簽: 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.
標(biāo)簽: 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>
標(biāo)簽: connectivity the attached database
上傳時間: 2017-06-28
上傳用戶:luke5347
題目:加密軟件 要求:(1)輸入任意一段明文M,以及密鑰K (2)根據(jù)一下公式將其轉(zhuǎn)換為密文C。 Ci = mi + K ,其中i = 0,1,……n-1 , K 為密鑰; (3)具有輸入輸出界面。
上傳時間: 2013-11-25
上傳用戶:shawvi
探討了在 Mh T I AB環(huán)境中實現(xiàn)遺傳算法仿真 的方法 , 并 以一個 簡單的求函數(shù)最值的問 題作為遺傳算法的應(yīng)用實鍘, 說明遺傳算法的全局尋優(yōu)性及用 M AI I AB實現(xiàn)仿真的可行性。
上傳時間: 2014-08-19
上傳用戶:牛津鞋
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1