Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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!

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!