Hi given the following code,
figure(1);scatter(x(:,1),x(:,2));hold on;scatter(member_value(:,1),member_value(:,2),'r');legend({'Data','Pareto Frontier'})
I obtain a graph like this
And I want to select the red point that is closest to the origin.
May someone help me with the code?
Best Answer