format commandthe format command can be used to


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

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: format commandthe format command can be used to
Reference No:- TGS0174700

Expected delivery within 24 Hours