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.
17 lines
276 B
17 lines
276 B
4 years ago
|
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
|
||
|
|