function title = p00_title ( prob ) %*****************************************************************************80 % %% P00_TITLE returns the title of any problem. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 06 August 2012 % % Author: % % John Burkardt % % Parameters: % % Input, integer PROB, the number of the desired test problem. % % Output, string TITLE, the title of the problem. % 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 ( ); elseif ( prob == 7 ) title = p07_title ( ); elseif ( prob == 8 ) title = p08_title ( ); else title = ' '; fprintf ( 1, '\n' ); fprintf ( 1, 'P00_TITLE - Fatal error!\n' ); fprintf ( 1, ' Illegal problem number = %d\n', prob ); error ( 'P00_TITLE - Fatal error!' ); end return end