You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: minandmax2est.m
    path of file: ./repos/chebfun/@spherefun
    
    the code of the file until where you have to start completion: function varargout = minandmax2est(varargin)
%MINANDMAX2EST   Estimates the minimum and maximum of a SPHEREFUN.
%   mM = MINANDMAX2EST(F) returns estimates for the minimum and maximum of the
%   SPHEREFUN F over its domain.  mM is a vector of length 2 such that mM(1) is
%   the estimated minimum and mM(2) is the estimated maximum.
%
%   mM = MINANDMAX2EST(F, N) returns estimates for the minimum and maximum of
%   the SPHEREFUN F over its domain, based on samples on an N by N grid
%   (N = 33 by default).
% 
% See also SPHEREFUN/MINANDMAX2.

% Copyright 2017 by The University of Oxford and The Chebfun Developers.

    
function varargout = minandmax2est(varargin)
%MINANDMAX2EST   Estimates the minimum and maximum of a SPHEREFUN.
%   mM = MINANDMAX2EST(F) returns estimates for the minimum and maximum of the
%   SPHEREFUN F over its domain.  mM is a vector of length 2 such that mM(1) is
%   the estimated minimum and mM(2) is the estimated maximum.
%
%   mM = MINANDMAX2EST(F, N) returns estimates for the minimum and maximum of
%   the SPHEREFUN F over its domain, based on samples on an N by N grid
%   (N = 33 by default).
% 
% See also SPHEREFUN/MINANDMAX2.

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.

[varargout{1:nargout}] = minandmax2est@separableApprox(varargin{:});

end