Contents Previous Next Subchapters

Element-By-Element Conversion To Character
Syntax char(value)
See Also ntoa , logical , int

Description
Returns the element-by-element conversion of value to the corresponding ascii characters, where value is a logical, character, integer, real, double-precision or complex matrix.

Example
The constant DOQUOTE is defined in autoexec to be equal to
     char(34)
which returns
     "
If value contains a fractional part, char truncates value before converting it to ASCII. If you enter
     char(97.9)
O-Matrix will respond
     a