Format command:
The format command can be used to control the spacing between the MATLAB command or expression and the outcome; it can be either compact or loose.
>> format loose
>> 2^7
ans =
128
>> format compact
>> 2^7
ans =
128
Particularly long expressions can be continued on the next line by typing three (or more) periods that is the continuation operator, or the ellipsis. For illustration,
>> 3 + 55 - 62 + 4 - 5 . . .
+ 22 - 1
ans =
16