adplus-dvertising
frame-decoration

Question

What is the output of the following code?
t=linspace(0,3*pi);p=sin(t);y=cos(t);plot(t,p,t,q);

a.

Error

b.

Multiple plots

c.

A unit circle

d.

A sinusoidal

Posted under MATLAB

Answer: (b).Multiple plots

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code?

Similar Questions

Discover Related MCQs

Q. What is the default range used by the fplot command?

Q. How can we group the elements in a 3-d bar graph?

Q. What is the size of the z vector in a mesh(x,y,z) if the sizes of x and y vectors are m, n respectively?

Q. What is the purpose of the figure command?

Q. What is the nature of z in surf(x,y,z)?

Q. What is the RGB triplet style for yellow?

Q. What is the range of RGB triplets for the surf command?

Q. What is the short name for black as input to the surf command?

Q. How do we create horizontal bar graphs in MATLAB?

Q. The meshc() command takes complex inputs.

Q. colorbar command gives different color to the bar chart following their ______

Q. The ezsurf command is present in the ___________

Q. The color density of the bar-chart drawn from the bar3() command is always proportional to the height of the bars.

Q. A stacked horizontal bar-chart can be made in MATLAB by ___________

Q. How can we introduce texts in a graph?

Q. How many objects are created for 24 texts written in the graph?

Q. The text given to the graphs can be made bold.

Q. The font style of the input text can be changed by the ____

Q. The default colour of graph generated by the plot command is blue.

Q. The fill command cannot take more than ______ inputs.