- 8th November 2011, 06:02 #21

- Join Date
- Nov 2011
- Posts
- 3
- Helped
- 1 / 1
- Points
- 214
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

i need matlab code for genetic algorithm for the design of fir and iir filters

at first plz send me genetic algorithm code

---------- Post added at 11:27 ---------- Previous post was at 11:24 ----------

did u got code for genetic algorithm if so plz send me tis s my id amarnath401@gmail.com

---------- Post added at 11:32 ---------- Previous post was at 11:27 ----------

hello

i need matlab code for genetic algorithm

1 members found this post helpful.

- 8th November 2011, 06:02

- 9th November 2011, 12:24 #22

- Join Date
- Nov 2011
- Posts
- 1
- Helped
- 0 / 0
- Points
- 201
- Level
- 2

- 23rd November 2011, 05:24 #23

- Join Date
- Nov 2011
- Posts
- 1
- Helped
- 0 / 0
- Points
- 194
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

Can anyone plz send me the coding for Genetic Algorithm applied in Image Enhancement And Color Image Processing.

I need them urgently!!!!!!!

- 27th November 2011, 05:19 #24

- Join Date
- Nov 2011
- Posts
- 1
- Helped
- 0 / 0
- Points
- 192
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

i HAVE A MATLAB CODE ON GENETIC ALGORITHM BUT WHEN I RUN IT SHOWS ME ERROR,, PLEASE IF ANY ONE CAN PLEASE CROSS THE ERRORS AND HELP ME IN FINISHING IT PLEASE ,,,

THIS IS MY ID Y.V.NIRANJANKUMAR@GMAIL.COM....

please if helps me in completion of my project

- 20th December 2011, 18:40 #25

- Join Date
- Dec 2011
- Posts
- 1
- Helped
- 0 / 0
- Points
- 180
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

"excuse me sir i need information about the genetic algorithm formation for a matlab code .. i need steps or so for the formation of the code ,, i need it for an assignment and am new to matlab ... the code is for finding a point for zero electric field , in a 2-d plane with 10 point charges ,,, thaanx so much in advance ...

- 19th January 2012, 14:02 #26

- Join Date
- Jan 2012
- Posts
- 1
- Helped
- 1 / 1
- Points
- 173
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

hi Mahmud

'm doing project in genetic algorithm. need to optimize the parameters. need guidence to start my work. could u pls help me n guide me tofinish my project.

rajapriya

1 members found this post helpful.

- 31st January 2012, 04:39 #27

- Join Date
- Aug 2011
- Location
- Tirunelveli, Taminnadu, India
- Posts
- 9
- Helped
- 0 / 0
- Points
- 276
- Level
- 3

- 6th February 2012, 04:48 #28

- Join Date
- Aug 2011
- Posts
- 6
- Helped
- 0 / 0
- Points
- 266
- Level
- 3

## Re: MATLAB CODE FOR GENETIC ALGORITHM

I am doing facial emotion detection and i am using GA for feature selection. Need some help GA to get it running. Need some code...please help. Can mail me at cnnlakshmen_2000@yahoo.com

- 11th February 2012, 14:01 #29

- Join Date
- Feb 2012
- Posts
- 1
- Helped
- 0 / 0
- Points
- 155
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

I need an optimization problem solved by matlab.can any one mail it for me?fluid2008@yahoo.com

thank you

- 15th February 2012, 04:07 #30

- Join Date
- Aug 2008
- Posts
- 1
- Helped
- 1 / 1
- Points
- 786
- Level
- 6

## Re: MATLAB CODE FOR GENETIC ALGORITHM

Salam mahmud...i'm going to do my research with title "hybrid genetic algorithm and interval type 2 fuzzy system inference for optimization"..could you please help me to get starting with this project...email me at rohaizad@poliku.edu.my.....thank you very much...

1 members found this post helpful.

- 17th February 2012, 10:07 #31

- Join Date
- Nov 2011
- Posts
- 3
- Helped
- 1 / 1
- Points
- 214
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

hi mahmud,

this s amar from andhra university.I need some information regarding to finding the iir lowpass filter coefficients using genetic algorithm.plz help me

- 25th February 2012, 19:08 #32

- Join Date
- Feb 2012
- Posts
- 1
- Helped
- 0 / 0
- Points
- 148
- Level
- 1

- 26th February 2012, 02:40 #33

- Join Date
- Jul 2007
- Location
- Sri Lanka
- Posts
- 1,337
- Helped
- 291 / 291
- Points
- 9,812
- Level
- 23
- Blog Entries
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

Refer chapter 8 in "Introduction to Genetic Algorithms" By S.N. Deepa

"Chapter 8: Genetic Algorithm Implementation Using Matlab"

Introduction to genetic algorithms - S. N. Sivanandam, S. N. Deepa - Google Books

Ex in page 224

Problem 1

Write a MATLAB program for maximizing f(x) = x2 using genetic algorithm,

where x ranges from 0 to 31. Perform 4 iterations.

Source Code

Code:%program for Genetic algorithm to maximize the function f(x) =xsquare clear all; clc; %x ranges from 0 to 31 2power5 = 32 %five bits are enough to represent x in binary representation n=input(‘Enter no. of population in each iteration’); nit=input(‘Enter no. of iterations’); %Generate the initial population [oldchrom]=initbp(n,5) %The population in binary is converted to integer FieldD=[5;0;31;0;0;1;1] for i=1:nit phen=bindecod(oldchrom,FieldD,3);% phen gives the integer value of the binary population %obtain fitness value sqx=phen. ∧2; sumsqx=sum(sqx); avsqx=sumsqx/n; hsqx=max(sqx); pselect=sqx./sumsqx; sumpselect=sum(pselect); avpselect=sumpselect/n; hpselect=max(pselect); %apply roulette wheel selection FitnV=sqx; Nsel=4; newchrix=selrws(FitnV, Nsel); newchrom=oldchrom(newchrix,:); %Perform Crossover crossoverrate=1; newchromc=recsp(newchrom,crossoverrate);%new population after crossover %Perform mutation vlub=0:31; mutationrate=0.001; newchromm=mutrandbin(newchromc,vlub,mutationrate);%new population after mutation disp(‘For iteration’); i disp(‘Population’); oldchrom disp(‘X’); phen disp(‘f(X)’); sqx oldchrom=newchromm; end

Code:Enter no. of population in each iteration4 Enter no. of iterations4 oldchrom = 1 0 0 1 0 0 1 0 1 0 0 0 1 1 0 1 1 1 1 0 FieldD = 5 0 31 0 0 1 1 For iteration i = 1 Population oldchrom =1 0 0 1 0 0 1 0 1 0 0 0 1 1 0 1 1 1 1 0 X phen = 18 10 6 30 f(X) sqx = 324 100 36 900 For iteration i = 2 Population oldchrom = 1 1 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 0 1 X phen = 28 13 6 21 f(X) sqx = 784 169 36 441 For iteration i = 3 Population oldchrom = 0 0 0 0 1 0 0 1 1 1 0 0 0 0 1 1 0 1 0 0X phen = 1 7 1 20 f(X) sqx = 1 49 1 400 For iteration i = 4 Population oldchrom = 1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 1 1 1 X phen = 16 27 19 15 f(X) sqx = 256 729 361 225

1 members found this post helpful.

- 26th February 2012, 02:40

- 27th February 2012, 06:55 #34

- Join Date
- Nov 2011
- Posts
- 3
- Helped
- 1 / 1
- Points
- 214
- Level
- 2

## Re: MATLAB CODE FOR GENETIC ALGORITHM

hi everyone,i need to form the objective function wrt error function and there by find filter coefficients wrt genetic algorithm(iir low pass 1st order),plz help me

- 27th February 2012, 07:40 #35

- Join Date
- Feb 2012
- Posts
- 1
- Helped
- 0 / 0
- Points
- 147
- Level
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

Hi

My final year project is related to multiobjective implementation of a travelling tournament problem using GA on Hadoop platform. also firstly i hav to implement this thing on MATLAB sequentially, parallely and hierarchically... so how to proceed with coding?? it would b vry kind if any1 could help me regarding this.. my emailid laxmipoka@gmail.com. thank u in advance.

- 6th March 2012, 07:00 #36

- Join Date
- Mar 2012
- Posts
- 1
- Helped
- 0 / 0
- Points
- 143
- Level
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

Hi mahmud , this ashok here , doing my PG project in Dynamic stability analysis for offshore wind farm connected to the grid through HVDC link. For better optimization iam using genetic algorithm , I need GA coding in matlab for dyanamic stability analysis where offshore wind farm is stabilized by controlling PID controller Ka, kp, Ki value. can u pls help me in that . if so send u r response to my id mashokkuma@gmail.com

- 6th March 2012, 17:43 #37

- Join Date
- Mar 2012
- Location
- Ramanagaram
- Posts
- 2
- Helped
- 0 / 0
- Points
- 147
- Level
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

hey mahmud,

Iam doing miniproject on network optimisation using genetic algarithm..

can u plzz tell me an idea how to optimise a network say LAN using genetic algarithms in matlab..if u r having code for genetic algarithm or if u hv any kind of info plzzzzzz mail me at tabu.unnisa@gmail.com

- 7th March 2012, 10:12 #38

- Join Date
- Mar 2012
- Posts
- 1
- Helped
- 0 / 0
- Points
- 143
- Level
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

hii

i am doing project on optimal location of fact controllers using genetic algorithm...here what i need is by using the load flow data i need to write a program to get optimal value...can u please give program for that...i'm in little bit hurry...plzz reply me as soon as possible... i need to submit it with in 2 days.. please mail it to taru.taurus@gmail.com

thanku in advance ....Last edited by tharuni; 7th March 2012 at 10:19.

- 22nd March 2012, 05:33 #39

- Join Date
- Mar 2012
- Posts
- 1
- Helped
- 1 / 1
- Points
- 135
- Level
- 1

## Re: MATLAB CODE FOR GENETIC ALGORITHM

pinkyvidya : Even i am working on the same stuff hav u got the matlab full car GA code ? if yes please reply me my mail id for reference darshan.dorugade@gmail.com

---------- Post added at 10:03 ---------- Previous post was at 09:55 ----------

pinkyvidya : Even i am working on the same stuff hav u got the matlab full car GA code ? if yes please reply me my mail id for reference darshan.dorugade@gmail.com

1 members found this post helpful.

- 22nd March 2012, 05:33

- 22nd March 2012, 08:04 #40

- Join Date
- Mar 2012
- Posts
- 2
- Helped
- 0 / 0
- Points
- 139
- Level
- 1

## Re: Matlab code for genetic algorithm

hello sir

i m working on ant colony optimization techniques. so please send me matlab coading of ant colony optimization techniques. which is very usefull for me

thanx in advace

shwetavarshney05@gmail.com

---------- Post added at 08:04 ---------- Previous post was at 08:03 ----------

hello sir

i m working on ant colony optimization techniques. so please send me matlab coading of ant colony optimization techniques. which is very usefull for me

thanx in advace

shwetavarshney05@gmail.com