Two-Dimensional Plots – 1 MCQ’s

Read Time:2 Minute, 3 Second

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Two-Dimensional Plots – 1″.

1. How can we smoothen the following graph of sin (t) and cos (t) into a circle?


a) reduce the gap between linearly spaced elements of the dependent variable t
b) reduce the gap between elements of the dependent variable t
c) increase the gap between linearly spaced elements of the dependent variable t
d) increase the gap between elements of the dependent variable t

2. Which command enables a title for the x-axis?
a) xlabel()
b) horilabel()
c) xlabel[]
d) no command

3. Which command enables a title for the y-axis?
a) vertlabel()
b) ylabel()
c) ylabel[]
d) no command

4. Which command gives a title to the graph plotted by MATLAB?
a) plot() generates the title itself
b) title()
c) hlabel()
d) heading()

5. What is the output of the following command?

meshgrid[x,y]

a) two x*y matrices
b) one x*y matrix
c) one y*x matrix
d) error

6. How can several graphs for the same function be plotted on the same window?
a) Contour plots
b) Bode plots
c) 3-D plots
d) n-D plots

7. What is the output of the following code?

t=0:0.001*pi:pi/2;
plot(t,sin(t),*);

a) An inverted sine curve
b) A sine curve
c) A point
d) Error

8. What is the period of the sawtooth() waveform which is generated by the sawtooth() command?
a) 2*pi
b) pi*2
c) pi
d) 3*pi/2

9. What is the slope of the sawtooth waveform generated by the sawtooth command?
a) 1/pi
b) pi
c) 1/(2*pi)
d) 2*pi

10. 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

11. The command used to generate an array of arrows is ________
a) quiver[]
b) arrows()
c) quiver()
d) arrows[]

12. The command to draw the nature of a function over a default fundamental period is _________
a) ezplot()
b) plot()
c) stem()
d) plot3()

13. The period of sinusoidal curves can be changed in MATLAB.
a) True
b) False

14. In the following code, what is the fundamental frequency of the sawtooth command?

f=1/50; sawtooth(2*pi*1/f*t)

a) 50
b) .02
c) 100
d) Error

15. The limits of the axes drawn are only specified in the command used to plot the graph itself.
a) True
b) False

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Fine Tuning MCQ’s
Next post Two-Dimensional Plots – 2 MCQ’s