1.

What is the difference between hold on and hold all?(a) no difference(b) hold all holds every plot while hold on holds a specific plot in the chain of argument(c) hold all does not exist(d) hold on is syntactically incorrectI got this question in final exam.My query is from Plotting Multiple Curves in chapter MATLAB Basics of MATLAB

Answer»

Right answer is (a) no difference

Explanation: Both HOLD on and hold all COMMANDS are used to hold the graph of a FUNCTION. There is no difference between them. To avoid confusion, one can only WRITE hold to hold a graph and again enter the COMMAND hold to release the graph.



Discussion

No Comment Found

Related InterviewSolutions