The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Easily Implementation of a Genetic Algorithm Mutation function
Replies: 2   Last Post: Dec 28, 2012 11:32 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Michael Doukas

Posts: 12
Registered: 12/26/12
Re: Easily Implementation of a Genetic Algorithm Mutation function
Posted: Dec 28, 2012 9:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

What i have so far is the following:

[M N] = size(OriginalChromosome);
RandMat = rand(M,N);
inti_val_of_columns= [1,4,6,9,13,24,26,28,41,54];

for m = 1:M
for n = 1:N
if mutP >=RandMat(m,n)
NewChromosomes= % here is the missing part and where i most likely need your help

Any thoughts?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.