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
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!