strtodΒΆ
strtod converts a string matrix to a double-precision matrix.
-
rmReal = strtod(smString)
-
<rmReal, smStopString> = strtod(smString)
Return Value
rmReal is a matrix of real numbers. smStopString contains the part in smString that cannot be converted to a number.
Parameters
-
smString
smString is a string matrix.
Example
* strtod("123")
123.0000
* strtod("123,45")
123.0000
* <r, s> = strtod("123,45")
* r
123.0000
* s
,45
* strtod("Hallo")
0.0000
See also
id-833664