The output of the given expression in matlab will be: max temp is 100.23 degree
.
Here, %.2f
specifies that the floating point number will have two decimal places. Therefore, the number 100.2345
will be rounded up to 100.23
before printing to standard output.
gistlibby LogSnag