adplus-dvertising
frame-decoration

Question

What is the output of the following code?
t=0:.001*pi:2*pi;
plot(cos(t),sin(t))

a.

A circle

b.

A straight line

c.

A unit circle

d.

A sinusoid

Posted under MATLAB

Answer: (c).A unit circle

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. The period of sinusoidal curves can be changed in MATLAB.

Q. The command to draw the nature of a function over a default fundamental period is _________

Q. The limits of the axes drawn are only specified in the command used to plot the graph itself.

Q. Which command is suitable to change the axes of the graph plotted?

Q. Which command can be used to generate multiple graphs in the same window?

Q. Inline functions can be plotted by the _________ command.

Q. Which toolbox provides the plot command?

Q. A power pattern for an antenna is a __________

Q. The general graph of f(a,b)=0 is plotted by ______

Q. What is the period of square wave generated by the square() command?

Q. In a 2-d Plot, which command will make the axes of the graph same?

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?