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: normest.m
    path of file: ./repos/chebfun/@chebtech
    
    the code of the file until where you have to start completion: function out = normest(f)
%NORMEST   Estimate the norm of a CHEBTECH.
%   NORMEST(F) estimates the inf norm of a CHEBTECH F simply by looking at the
%   max norm of its values. Use NORMEST when an approximate norm is acceptable.

    
function out = normest(f)
%NORMEST   Estimate the norm of a CHEBTECH.
%   NORMEST(F) estimates the inf norm of a CHEBTECH F simply by looking at the
%   max norm of its values. Use NORMEST when an approximate norm is acceptable.
%
% See also NORM.

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

% Since vscale(f) = max(abs(f.values)) this is sufficient:
out = max(vscale(f));
            
end