GAの引数NVARSを整数値で、重複なく入力する方法
Ältere Kommentare anzeigen
MATLABのgaに関して2点質問があります。
1点目:
gaの引数をNVARS=4、INTCON=1~45(整数値)としたところ、
Each member of INTCON must not exceed the number of variables
とのエラーが出てしまいました。
この方法以外に、NVARSを1~45の整数値で入力する方法があれば教えていただきたいです。
2点目:
NVARSの各要素が重複しないようにする方法があれば教えていただきたいです。
以上、よろしくお願いします。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu パフォーマンスとメモリ finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!