Pareto/Efficient frontier?

조회 수: 17 (최근 30일)
huxlb1
huxlb1 2017년 5월 17일
I'm trying to find the non-dominated points in two vectors of random numbers so I can plot the Pareto front of those points. Here's my code so far, but I'm very stuck:
x=rand(113,1)
y=rand(113,1)
x=sort(x, 'descend')
v=[x,y]
for i=1:113
m=max(v(i,2))
if v(i,2) > m
n=max(v(i,2))
end
end
Any suggestions on where to go next would be greatly appreciated.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Risk Management Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by