How can I solve a 3 variable problem with the TLBO (teaching learning based optimization) algorithm?
Mostrar comentarios más antiguos
Hello, I´m new with all this of the algorithms and how it works, so I can´t make to solve a problem of multilevel inverter with TLBO, can someone teach me an example of three unknown variables. In the moment I have a problem in this line:
[THD,ansr]=min(fx);
BestFx{(iter)}=THD;
BestX(iter,:)=pos(ansr,:);
and the error is this:
Unable to perform assignment because the indices on the left side are not
compatible with the size of the right side.
Error in TLBOB1 (line 82)
BestX(iter,:)=pos(optind,:);
Thank you so much.
Respuestas (0)
Categorías
Más información sobre Get Started with Optimization Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!