x =
3.1416 2.7180
whos
Name Size Bytes Class Attributes
c 3x1 380 cell
d 3x1 24 double
str 1x2 196 string
x 1x2 16 double
Convert from Specific Radix
To convert from a character representation of a nondecimal number to the value of that
number, use one of these functions: hex2num, hex2dec, bin2dec, or base2dec.
The hex2num and hex2dec functions both take hexadecimal (base 16) inputs, but
hex2num returns the IEEE double-precision floating-point number it represents, while
hex2dec converts to a decimal integer.
Convert from Character Arrays to Numeric Values