Search Header Logo

MATLAB Graphics and Functions Quiz

Authored by Günel Cabbarlı

Information Technology (IT)

University

Used 3+ times

MATLAB Graphics and Functions Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

59 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the plot(x, y) function do?

Plots a bar chart

Creates a 3D surface plot

Generates a table

Displays a histogram

Draws a line plot of vector data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following adds a grid to a plot?

show grid

display grid on

grid on

addgrid

enable grid

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you plot sine and cosine functions on the same axes?

plot(x, y1); plot(x, y2)

plot(x, y1 + y2)

plot(x, y1, x, y2)

dualplot(x, y1, y2)

subplot(x, y1, y2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to create a bar chart?

bar()

plotbar()

barchart()

plot()

bargraph()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does subplot(2,1,1) do?

Creates one big plot

Divides the figure into 2 columns and 1 row

Creates a plot in the top half of a 2-row figure

Creates a second figure

Splits the window vertically

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does saveas(gcf, 'plot1.png') do?

Saves current figure to the workspace

Exports code as an image

Saves the current figure as a PNG file

Copies the figure to clipboard

Saves data in .fig format

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword changes the line width in a plot?

LineSize

linewidth

LineWidth

line_width

width

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?