Docs @ Psychtoolbox Wiki : ind2str

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Ind2Str

PsychtoolboxPsychOneliners

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 of Ind2Str.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOneliners/Ind2Str.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0195 seconds