I guess the problem is in the meaning of "Converting ASCII to DECIMAL".
The character '1' is represented by the decimal ascci number 49.
The function double() converts from character to decimal ascci number
and char() converts from decimal ascci number to character
str2double() and num2str() are something else. Look them up in the documentation.
>> num2str( 1 )