Next: Hardcopy Up: No Title Previous: Comparing efficiency of

Output format

While all computations in MATLAB are performed in double precision, the format of the displayed output can be controlled by the following commands.

 format short     fixed point with 4 decimal places (the default)  
 format long      fixed point with 14 decimal places  
 format short e   scientific notation with 4 decimal places  
 format long e    scientific notation with 15 decimal places
Once invoked, the chosen format remains in effect until changed.

The command format compact will suppress most blank lines allowing more information to be placed on the screen or page. It is independent of the other format commands.

Wed Mar 13 19:15:55 MET 1996