function title = p00_title ( prob ) %*****************************************************************************80 % %% P00_TITLE returns the title for any function. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 05 August 2012 % % Author: % % John Burkardt % % Parameters: % % Input, integer PROB, the index of the function. % % Output, string TITLE, the function title. % if ( prob == 1 ) title = p01_title ( ); elseif ( prob == 2 ) title = p02_title ( ); elseif ( prob == 3 ) title = p03_title ( ); elseif ( prob == 4 ) title = p04_title ( ); elseif ( prob == 5 ) title = p05_title ( ); elseif ( prob == 6 ) title = p06_title ( ); else fprintf ( 1, '\n' ); fprintf ( 1, 'P00_TITLE - Fatal error!\n' ); fprintf ( 1, ' Illegal function index PROB = %d\n', prob ); error ( 'P00_TITLE - Fatal error!' ); end return end