function value = ch_is_upper ( c ) %% CH_IS_UPPER returns TRUE if C is a uppercase alphabetic character. % % Modified: % % 01 May 2004 % % Author: % % John Burkardt % % Parameters: % % Input, character C, a character to check. % % Output, logical VALUE is TRUE if C is an uppercase alphabetic character. % FALSE = 0; TRUE = 1; if ( 'A' <= c & c <= 'Z' ) value = TRUE; else value = FALSE; end