

InterviewSolution
Saved Bookmarks
1. |
A student has created a plot of y(t)=t^2. He is need to show another graph of z(t)=t^3 in the same plot. But every time he hits the plot() function- MATLAB generates a plot of z(t) vs t but on a different window. What is the error?(a) It is not possible to plot multiple plots(b) He is not using the line function(c) Maybe he is using stem() instead of plot()(d) He is not using the hold functionI have been asked this question during an interview.Question is from Plotting Multiple Curves topic in portion MATLAB Basics of MATLAB |
Answer» The correct option is (d) He is not using the hold function |
|