Matlab code for genetic algorithm

1. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
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 ---------- Originally Posted by pinkyvidya Even I came across that tool and its examples.But I need a MATLAB code for genetic algorithm so that I can modify as per my requirement for my project.Kindly help
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 ---------- Originally Posted by juribe610 Hello, everybody

I use ¨Practical Genetic Algorithms - Randy L. Haupt, Sue Ellen Haupt¨, includes Matlab codes, introduction to GA, PSO, Ant System and some others heuristic Methods, also u can search for THE PRACTICAL HANDBOOK OFl GENETIC ALGORITHMS APPLICATIONES, i can´t put the links because are copyrights problems with edaboard.com

please PM me if u need some help.

I make my Eng Thesis using Optimization Techniques.

PSO(Particle Swarm Optimization)
GA(Genetic Algoritms)
Ant Colony Optimization

And recently include the EDA (Estimation of Distribution Algorithms ), there are a free toolbox for Matlab from Spanish PhD MATEDA

Best Regards

hello
i need matlab code for genetic algorithm

1 members found this post helpful. 2. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
hello mahmud,
if I gave you a fitness function, can u implement it in GA tool of matlab? 3. 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!!!!!!! 4. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
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 5. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
"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 ... 6. 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. 7. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
Hi,
I want PSO algm coding in MATLAB.. can u help me? have to install pso toolbox? and tell me how and whr i can get that toolbox? plzzzzz

Thanks.. 8. 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 9. 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 10. 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. •

11. 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 12. Re: MATLAB CODE FOR GENETIC ALGORITHM Originally Posted by mahmud_dbm i can help anything related to genetic algorithm. feel free to ask.

Mahmud
hi,
i have to use optimisation technique to maximise the value of my output. plz send me a pseudocode.i will be thnkful for ur help 13. 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
Output
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. 14. 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 15. 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. 16. 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 17. 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 18. 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 .... 19. 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. •

20. 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

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 