Text and Strings
abs convert string to ASCII values
eval evaluate text macro
num2str convert number to string
int2str convert integer to string
setstr set flag indicating matrix is a string
sprintf convert number to string
isstr detect string variables
strcomp compare string variables
hex2num convert hex string to number
>>help ...?
For example for displaying all function for sparse matrix was:
>>help sparfun
Also conversions like:
hex2num,dec2bin,bin2dec what i must use in command window to display also these?
>>help ...?
I wait your response!
lookfor string
lookfor text
lookfor convert
also
docsearch string
docsearch text
etc....
just a note
- while it works, ABS is not the (preferred) way to convert char strings to ASCII values
- it works because it - silently - does the DOUBLE conversion for you (see below)
% rather, use proper typecasting...
s='abc'
v=double(s)
v=int16(s)
% and so on
% see also:
help datatypes;
us
a hint:
lookfor convert;
docsearch convert; % then sort according to product...
docsearch conversion;
us
Thank you very much us!