1.

A student has to plot a graph of f(x)=t and g(y)=t in the same graph, with t as a parameter. The function he uses is ____(a) plot3(x,y,t)(b) plot(x,y,t)(c) disp(d) stem(x,y)I have been asked this question in semester exam.The question is from Graphics topic in portion MATLAB Basics of MATLAB

Answer»

Right choice is (a) plot3(x,y,t)

The explanation is: The function to be used is plot3(x,y,t). This will allow him to DRAW a 3d PLOT as asked. The plot will SHOW both the functions ‘F’ and ‘g’ with t on the z-axis.



Discussion

No Comment Found

Related InterviewSolutions