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: xyzsphere.m
    path of file: ./repos/chebfun/+cheb
    
    the code of the file until where you have to start completion: function varargout = xyzsphere
%XYZSPHERE  Spherefun objects for x, y, and z on the surface of the sphere.
%   [X, Y, Z] = CHEB.XYZSPHERE returns spherefun objects for the functions 

    
function varargout = xyzsphere
%XYZSPHERE  Spherefun objects for x, y, and z on the surface of the sphere.
%   [X, Y, Z] = CHEB.XYZSPHERE returns spherefun objects for the functions 
%   @(x,y,z) x, @(x,y,z) y, and @(x,y,z) z defined on the surface of the
%   sphere. 
%
%   CHEB.XYZSPHERE is shorthand for the expressions 
%   X = SPHEREFUN(@(X,Y,Z) X), 
%   Y = SPHEREFUN(@(X,Y,Z) Y), and 
%   Z = SPHEREFUN(@(X,Y,Z) Z). 

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

x = spherefun(@(x,y,z) x);
y = spherefun(@(x,y,z) y);
z = spherefun(@(x,y,z) z);

if ( nargout > 0 )
    
    % For the syntax [x, y, z] = cheb.xyzsphere:
    varargout{1} = x;
    varargout{2} = y;
    varargout{3} = z;
    
    if ( nargout > 3 ) 
        error('CHEB:XYZSPHERE:TooManyOutputs',... 
            'Too many output arguments. CHEB.XYZSPHERE only returns "x", "y", and "z".')
    end