image thumbnail

find_pareto_frontie​r

version 1.0.0.0 (1.53 KB) by Sisi Ma
This function identifies the pareto frontier of a set of points (assuming smaller values are more

1K Downloads

Updated 17 Mar 2014

View License

%--------------------------------------------------------------------------
% This function identifies the pareto frontier of a set of points (assuming
% smaller values are more desirable)
%--------------------------------------------------------------------------
% Input: input, a matrix, each row correspondes to a point, each column
% correspond to a dimension
%--------------------------------------------------------------------------
% Outputs:
% (1) membership: a logical array, have same number of rows as input
% matrix, 1 indicate the corresponding point in input matrix is a member of
% pareto frontier, 0 otherwise
% (2) member_value: matrix, contain point(s) on the pareto frontier.
%--------------------------------------------------------------------------
% Example:
% x=rand(100,2);
% [membership,member_value]=find_pareto_frontier(x);
% plot(x(:,1),x(:,2),'.','markersize',15);
% hold on;
% plot(member_value(:,1),member_value(:,2),'.r','markersize',15);
% legend({'Data','Pareto Frontier'})
%
%--------------------------------------------------------------------------

Cite As

Sisi Ma (2021). find_pareto_frontier (https://www.mathworks.com/matlabcentral/fileexchange/45885-find_pareto_frontier), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!