format

6Mar - by MatlabUser - 0 - In Functions

format output format.
All computations in are done in .
format may be used to switch between different output display formats as follows:
format Default. Same as SHORT.
format SHORT Scaled fixed point format with 5 digits.
format LONG Scaled fixed point format with 15 digits.
format SHORT E format with 5 digits.
format LONG E Floating point format with 15 digits.
format SHORT G Best of fixed or floating point format with 5 digits.
format LONG G Best of fixed or floating point format with 15 digits.
format HEX Hexadecimal format.
format + The +, – and blank are printed
positive, negative and zero elements.
Imaginary parts are ignored.
format BANK Fixed format for dollars and cents.
format RAT Approximation by ratio of small integers.

Spacing:
format COMPACT Suppress extra -feeds.
format LOOSE Puts the extra line-feeds back in.

You might also be interested in :  Specifying Class Precedence