You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
276 B

function f = MaxFunctions(FunctionCell)
%MaxFunctions 此处显示有关此函数的摘要
% 此处显示详细说明
fnum = size(FunctionCell,1);
f = @(x,y,z) FunctionCell{1}(x,y,z);
for i = 1:fnum
f = @(x,y,z) max(f(x,y,z), FunctionCell{i}(x,y,z));
end
end