Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
anant mehrotra
anant mehrotra le 21 Mar 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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!

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by