提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 2 个回答 | 0

2

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 2 个回答 | 0

2

个回答

提问


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

8 years 前 | 2 个回答 | 0

2

个回答