Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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!

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by