ddgx1.m ( File view )

  • By chenhaiyan90 2014-05-14
  • View(s):22
  • Download(s):2
  • Point(s): 1
			function x=ddgx1(x,xbest,gbest,v,w,c1,c2,objnum,J,D,m_t,m_index)
for i=1:size(x,1)
    v(i,:)=w*v(i,:)+c1*rand(1,1)*(xbest(i,:)-x(i,:))+c2*rand(1,1)*(gbest-x(i,:));
    x(i,:)=x(i,:)+v(i,:);
    x(i,:)=rem(x(i,:),objnum)./double(objnum);
    index=find(x(i,:)<=0);
    if length(index)~=0
        x(i,index)=rand(size(index));
    end
    [x
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
caibanzhu.m2.58 kB06-01-14|21:11
chushi.m2.40 kB04-01-14|11:12
data.xlsx12.76 kB05-01-14|12:14
data2.xlsx22.48 kB06-01-14|15:20
ddgx1.m524.00 B10-12-13|00:37
ddgx2.m852.00 B06-01-14|21:11
fbzkzhu.m3.25 kB06-01-14|21:11
matlab数据.mat27.48 kB06-01-14|23:02
shiyingdu1.m2.12 kB10-12-13|00:37
shiyingdu2.m1.37 kB06-01-14|21:10
x_suoyin.m88.00 B04-12-13|21:38
测试数据.docx33.70 kB06-01-14|21:43
新建文件夹0.00 B08-01-14|10:53
...
Sponsored links

ddgx1.m (87.23 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D