| MATLAB Functions | Help Desk |
format
Control the output display formatMATLAB performs all computations in double precision.The
format command described below switches among different display formats.
format + displays +, -, and blank characters for positive, negative, and zero elements. format hex displays the hexadecimal representation of a binary double-precision number. format rat uses a continued fraction algorithm to approximate floating-point values by ratios of small integers. See rat.m for the complete code.
fprintf, num2str, rat, sprintf, spy