function xxdecode = i4_to_xxdecode ( i ) %% I4_TO_XXDECODE returns the I-th character in the XXDECODE encoding. % % Examples: % % I I4_TO_UUDECODE % % 1 '+' % 2 '-' % 3 '0' % .. % 64 'z' % % Modified: % % 24 March 2006 % % Author: % % John Burkardt % % Parameters: % % Input, integer I, the index of the character. % 1 <= I <= 64. % % Output, character XXDECODE, the requested character. % string = '+-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; if ( 1 <= i & i <= 64 ) xxdecode = string(i); else xxdecode = ' '; end