1.

How do we change the nature of the display of the numerical answer?(a) Use the format command(b) Use the class command(c) MATLAB provides intuitive display(d) Not possibleI have been asked this question in final exam.Question is taken from Data Classes in chapter Beyond the Basics of MATLAB

Answer»

Right answer is (a) Use the format command

The explanation is: The format command is USED to change the display of numerical answer. If the format command is not invoked, MATLAB will always SHOW FOUR DIGITS after decimal point and all the digits before the decimal point.



Discussion

No Comment Found

Related InterviewSolutions