Two-Dimensional Plots – 2 MCQ’s

Read Time:1 Minute, 48 Second

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

1. Which command is suitable to change the axes of the graph plotted?
a) axes
b) axis
c) yxaxes
d) no command

2. Which command can be used to generate multiple graphs in the same window?
a) hold on
b) wait
c) not possible without contour command
d) not possible

3. Which toolbox provides the plot command?
a) Symbolic Maths Toolbox
b) Signal Processing Toolbox
c) Engineering Toolbox
d) Functions

4. What is the output of the following code?

ezplot(x^2)

a) No such command
b) A parabola
c) A part of a parabola
d) Error

5. A power pattern for an antenna is a __________
a) 4-D plot of space and power
b) 3-D plot of space and power
c) 2-D plot of space and power
d) Nothing called power pattern

6. Inline functions can be plotted by the _________ command.
a) ezplot()
b) plot3()
c) plot()
d) cannot be done

7. What is the period of square wave generated by the square() command?
a) User-defined
b) pi
c) 2*pi
d) pi/2

8. The general graph of f(a,b)=0 is plotted by ______
a) ezplot()
b) plot()
c) stem()
d) not possible

9. In a 2-d Plot, which command will make the axes of the graph same?
a) axis square
b) axis equals
c) axes square
d) axes equal

10. What is the output of the following code?

plot(linspace[0,3*pi],square[linspace[0,3*pi]]);

a) A square wave from 0 to 3*pi
b) A square wave with 50% duty cycle from 0 to 3*pi
c) A square wave with 50% duty cycle
d) Error

11. What is the output of the following code?

title(‘x^2+y^2=r^2’)

a) x2+y2 = r2
b) x^2+y^2 = r^2
c) Error
d) No such command

12. What is the default range used by the fplot command?
a) [-5,5]
b) (-5,5)
c) No default range
d) No such command

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

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 Two-Dimensional Plots – 1 MCQ’s
Next post Three-Dimensional Plots MCQ’s