30 Apr 2009
05 Apr 2012)
Numerical computation with functions instead of numbers.
%SPLITTING CHEBFUN splitting option
% SPLITTING ON allows the Chebfun constructor to split the interval by a
% process of automatic subdivision and edge detection. This option is
% recommended when working with functions with singularities.
% SPLITTING OFF disables this kind of automatic splitting, and is
% recommended for working with functions that are complicated but still
% smooth. Even with splitting off, breakpoints may still be introduced by
% the MAX, MIN, ABS, CEIL, FLOOR, and ROUND commands. One may switch
% freely back and forth between the two modes during a Chebfun
% SPLITTING is OFF by default, by itself, displays the current splitting
% Copyright 2011 by The University of Oxford and The Chebfun Developers.
% See http://www.maths.ox.ac.uk/chebfun/ for Chebfun information.
disp('SPLITTING is currently ON')
disp('SPLITTING is currently OFF')
if strcmpi(on_off, 'on')
elseif strcmpi(on_off, 'off')
'Unknown splitting option: only ON and OFF are valid options.')