adplus-dvertising
frame-decoration

Question

What is the output in the following code?
x=-10:1:10; y=-10:1:10;axis(‘off’); plot(x,y)

a.

Error

b.

A graph will be shown without axes

c.

A graph will be shown with axes

d.

2 graphs will be shown- one with axes and with no axes

Posted under MATLAB

Answer: (c).A graph will be shown with axes

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 in the following code?

Similar Questions

Discover Related MCQs

Q. If we want to plot matrix arguments, which of the following gets plotted?

Q. To bring the scale of each axis to logarithmically spaced, the student entered ‘semilogx()’. What really happened?

Q. After trying to plot a pie-chart, the student finds that the function he used is rose(). What is the nature of data used by the student if an output graph is generated?

Q. To place a text on the plot using a mouse, the command used is _________

Q. What is the condition on x in bar(x,y)?

Q. If we put bar(x,y,1.2), we will get _____ bars.

Q. 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 ____

Q. To exhibit time-series or spatial-series data, what kind of diagrams are suitable?

Q. What is the difference between primary and secondary data in statistics?

Q. The nature of data while using pie plots is ___________ data.

Q. What would you use to show comparisons of profit of 3 industries over 3 quarters?

Q. What is the difference between stem plot and histogram plot?

Q. To display the partnership of 3 batsman with one batsman, one uses _________

Q. To display the runs scored by a batsman towards different directions in a field, one uses

Q. A cubic system can be represented using the function ____

Q. To specify different curves in an angle histogram plot, we use the _________ function.

Q. A student has created a plot of y(t)=t². He is need to show another graph of z(t)=t³ 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?

Q. Does the plot function take multiple arguments to a plot?

Q. What happens if we don’t stop the implementation of the hold function?

Q. Is histogram a kind of multiple plots?