Explore topic-wise MCQs in Matlab.

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

1.

What is the output of the above code?

A. A green ramp function
B. A ramp function with y value marked at lengths of 5
C. A ramp function with y value marked
D. A ramp function with y value marked at lengths of 6View Answer
Answer» C. A ramp function with y value marked
2.

The default colour of graph generated by the plot command is blue.

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

The font style of the input text can be changed by the ____

A. fontname{}
B. fontstyle{}
C. fontname()
D. fontname[]
Answer» B. fontstyle{}
4.

The text given to the graphs can be made bold.

A. True
B. False
Answer» B. False
5.

What is the output of the following code? a) Errorb) A graph with Ho! writtenc) A An inverted sinusoidd) An inverted sinusoid with Ho writtenView Answer

A. Errorb) A graph with Ho! writtenc) A An inverted sinusoidd) An inverted sinusoid with Ho writtenView Answer a) Error on plot command
B. A graph with Ho! writtenc) A An inverted sinusoidd) An inverted sinusoid with Ho writtenView Answer a) Error on plot commandb) Error in linspace command
C. A An inverted sinusoidd) An inverted sinusoid with Ho writtenView Answer a) Error on plot commandb) Error in linspace commandc) Error in text command
D. An inverted sinusoid with Ho writtenView Answer a) Error on plot commandb) Error in linspace commandc) Error in text commandd) A graph of a sinusoid with Ho ! written on it.View Answer
Answer» B. A graph with Ho! writtenc) A An inverted sinusoidd) An inverted sinusoid with Ho writtenView Answer a) Error on plot commandb) Error in linspace command
6.

How can we introduce texts in a graph?

A. Use the text command
B. Use the plot command
C. Use the title command
D. Additional texts not possible
Answer» B. Use the plot command