Hi, I am having a problem while I use the genetic algorithm. When I use the ga with only 3 populations it works, but when I increase the populations it gives me an error that a value must be a scalar.
I diden't understand why he gives the error only when I increase the population fron 3 onwards. Maybe someone knows the problem and could help me?

답변 (1개)

Walter Roberson
Walter Roberson 2024년 7월 1일

1 개 추천

You do not really give enough details to give a solid answer, but I speculate that you have an / operation that should be a ./ operation.

댓글 수: 1

Giuseppe
Giuseppe 2024년 7월 4일
I tried to do what you recommended but it still doesn't work.
Thanks anyway for the help.

댓글을 달려면 로그인하십시오.

카테고리

제품

질문:

2024년 7월 1일

댓글:

2024년 7월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by