hull.m
来自「matlab波形优化算法经常要用到的matlab toolbox工具箱:yalm」· M 代码 · 共 24 行
M
24 行
function [Fhull,t] = hull(varargin)
% HULL Construct a model of the convex hull
%
% H = hull(F1,F2,...)
%
% OUTPUT
% H : SET object describing the convex hull of the input constraints
%
% INPUT
% Fi : SET objects with constraints
%
% Note that the convex representation of the convex hull requires a lifting
% (introduction of new variables). Hence, if you have many set of
% constraints, your problem rapidly grows large.
% $Id: hull.m,v 1.2 2008/02/14 14:53:36 joloef Exp $
for i = 1:nargin
if isa(varargin{i},'constraint')
varargin{i} = set(varargin{i});
end
end
% Call the hull operator from the set
[Fhull,t] = hull(varargin{:});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?