Explore topic-wise MCQs in Matlab.

This section includes 18 Mcqs, each offering curated multiple-choice questions to sharpen your Matlab knowledge and support exam preparation. Choose a topic below to get started.

1.

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

A. Mentioning stacked as input to the bar3() command
B. Mentioning stacked as input to the bar3h() command
C. Mentioning stack as input to the bar3[] command
D. Mentioning stacked as input to the bar3h[] command
Answer» C. Mentioning stack as input to the bar3[] command
2.

The meshc() command takes complex inputs.

A. True
B. False
Answer» C.
3.

How do we create horizontal bar graphs in MATLAB?

A. bar3h()
B. barh()
C. bar3()
D. not possible
Answer» B. barh()
4.

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

A. b
B. bl
C. k
D. blk
Answer» D. blk
5.

What is the range of co-ordinates obtained of the following code?

A. 1:4 in x and y co-ordinates
B. 0:4 in x & y co-ordinates
C. only 4 in x and y co-ordinate
D. ErrorView Answer
Answer» D. ErrorView Answer
6.

What is the purpose of the figure command?

A. Opens a blank window
B. Opens a blank window to draw graphs
C. Opens a window containing axes
D. Opens a window containing grid and axes
Answer» C. Opens a window containing axes
7.

WHAT_IS_THE_SHORT_NAME_FOR_BLACK_AS_INPUT_TO_THE_SURF_COMMAND??$

A. b
B. bl
C. k
D. blk
Answer» B. bl
8.

The meshc() command takes complex inputs.$

A. True
B. False
Answer» B. False
9.

How do we create horizontal bar graphs in MATLAB?$

A. bar3h()
B. barh()
C. bar3()
D. not possible
Answer» C. bar3()
10.

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

A. True
B. False
Answer» C.
11.

The ezsurf command is present in the ___________

A. Symbolic Math Toolbox
B. Statistics and Machine Learning Toolbox
C. Partial Differentiation Equation Toolbox
D. Neural Network Toolbox
Answer» C. Partial Differentiation Equation Toolbox
12.

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

A. height
B. width
C. length
D. independently
Answer» B. width
13.

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

A. [1 0]
B. [0 1]
C. (0 1)
D. (0 1]
Answer» D. (0 1]
14.

What is the RGB triplet style for yellow?

A. [1 1 0]
B. [1 0 1]
C. [1 0 0]
D. [0 1 1]
Answer» C. [1 0 0]
15.

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

A. Integer
B. Vector
C. Matrix
D. String
Answer» B. Vector
16.

1:4 in x and y co-ordinates

A. 0:4 in x & y co-ordinates
B. only 4 in x and y co-ordinate
C. Error
Answer» D.
17.

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?

A. [m,n]
B. (m,n)
C. [m,n)
D. Independent of m and n
Answer» B. (m,n)
18.

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

A. Give ‘grouped’ as style input to bar3() command
B. Give ‘grouped’ as style input to bar() command
C. Give ‘group’ as style input to bar3() command
D. Give ‘group’ as style input to bar() command
Answer» B. Give ‚Äö√Ñ√∂‚àö√ë‚àö‚â§grouped‚Äö√Ñ√∂‚àö√ë‚àö¬• as style input to bar() command