1.

How will one escape from printing graphs of variables, whose value gets changed for the program?(a) Use the clear all command at the beginning(b) Use the close all command at the beginning(c) Use the clc command(d) Cannot be escapedI had been asked this question in class test.I'm obligated to ask this question of Fine Tuning topic in division Interacting with MATLAB of MATLAB

Answer»

Right option is (a) Use the clear all command at the beginning

To EXPLAIN: The clear all command keeps all the local VARIABLES of the function unaffected i.e. they prevent their VALUES from getting changed due to some previous USAGE of the function. The close all command closes all the graphs the clc command removes the written code.



Discussion

No Comment Found

Related InterviewSolutions