rar

Use PSO to minimize a function Matlab code

  • 2014-03-05
  • 12.62KB
  • Points it Requires : 2

This is a MATLAB code that uses PSO to minimize a function. It is very concise (less than 100 lines) and also includes a 2D graphical display. I would like to share it with you for reference!!! Let\'s learn MATLAB and various optimize methods together. Minimize: (x-15)^2+(y-20)^2The swarm matrix isswarm(index, [location, velocity, best position, best value], [x, y components or the value component])Author: Wesam ELSHAMY (wesamelshamy@yahoo.com) MSc Student, Electrical Engineering Dept., Faculty of Engineering Cairo University, Egypt

unfold

You Might Like

Uploader
crazyjackson
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×