Ind2Str

>Psychtoolbox>PsychOneliners

str = Ind2Str(p)
converts indices (numbers) to characters (base 10 to base 26 conversion):
Ind2Str( 1) = ‘a’
Ind2Str(26) = ‘z’
Ind2Str(27) = ‘ba’
if P is a vector or matrix of indices, output will be a cell of the
same dimensions
representation with least number of characters necessary is used

str = Ind2Str(p,numchar)
representation of at least NUMCHAR length will be used for output:
Ind2Str([1,34,45],3) = {‘aab’,’abi’,’abt’}

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/Ind2Str.m