1.

How would you plot multiple graphs in MATLAB?(a) Using the hold function(b) Using the mplot function(c) Using the mstem function(d) It cannot be done in MATLABThis question was posed to me during an online interview.The above asked question is from Presenting Results topic in division Interacting with MATLAB of MATLAB

Answer»

Correct choice is (a) Using the HOLD function

To elaborate: The hold command is a pre-defined function in MATLAB. It ALLOWS the control to remain in the WINDOW where which was generated by MATLAB, the FIRST time we type a command to plot any KIND of graph. Then on we can plot multiple graphs on the same window.



Discussion

No Comment Found

Related InterviewSolutions