Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Vector search after a nested loop and returning me those functions with optimum value

1 Ansicht (letzte 30 Tage)
How do I exttact values of those objective function from a matrix, for which my if-else nested loop returns FLAG = 0?
I have a vector of 121X5, that has two objective functions 1 and 2, taking different combiantions of values of 2 factors, say x and y.
I make another column of FLAG and run a loop for objective function, comparing values and if the condition is respected, that makes my FLAG =1 otherwise returns zero. I want to extract all the values of obj. function 1 and 2 where my FLAG stays zero. Those are my optimum values.
Once, I have those values of objective functions, I will have to plot them obj function 2 vs objective function 1.
Thanks!

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by