How to use previous result in objective function?
Mostrar comentarios más antiguos
I'm currently working on a filter coefficient optimization problem. I'm using global optimization toolbox and the objective function is a bit complicated Now I want to use previous calculation results in the objective function, but I don't want to set those values as variables because they are fixed. I tried to write the objective function in function handles but I failed because for loop is needed to get this objective function. Is there anyway that I can use the previous calculation results in a new function, but not claiming them as variables?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Problem-Based Optimization Setup 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!