Question


2 IF loops inside of a FOR loop!
Hi, I have 2 IF loops inside of a FOR loop. for z = 1:spot_length; if minichrom(1,z) == 0 ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


How can I have n randomly generated vectors?
Hi, I want to generate n random vectors. The problem is I put it in the loop and the vector is being replaced in every run, bu...

ungefär 8 år ago | 2 answers | 0

2

answers

Question


Would you please help me to correct this code?
Hi, I want to generate a 4*12 matrix that consists of 0 and 1 elements only that each row is divided into 2 sections with 6 el...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


How can I generate a random binary matrix under some conditions?
Hi, I want to generate a 4*960 binary matrix but there are some conditions. For example in row 1, in the first 60 elements, maxi...

ungefär 8 år ago | 2 answers | 0

2

answers

Question


How can I code my variable length chromosomes for GA?
Hi, I need to code my chromosomes in a way that each chromosome consists of several string (I'm not sure if this is possible, I...

ungefär 8 år ago | 2 answers | 0

2

answers