Watch this Author's files
another way
function r=gmax(varargin) try r=max(cellfun(@(x) max(x(:)),varargin)); catch %#ok error('invalid input argument(s)'); end end
us
function r=gmin(varargin) try r=min(cellfun(@(x) min(x(:)),varargin)); catch %#ok error('invalid input argument(s)'); end end
Comment only
Contact us at files@mathworks.com
Comment only