Simple Commands
Looping
Plotting
Variables
True/False
100
The code used to suppress output in the command window
What is ;
100
This type of loop repeats as a function of the values of a variable
What is for
100
This command creates a graph of two variables
What is plot(x,y)
100
All variables in Matlab are stored as these types of mathematical structures
What is Matrices or Arrays
100
True or False: This series of commands would generate an error message in Matlab. l = 3 w = 4 Area = l x w Plot (Area)
What is True (l*w), and Area is not an ordered pair of variables
200
This command erases the information in the command window and the workspace
What is clear all, clc
200
This type of loop repeats if a logical condition is true
What is While
200
This command tells the computer that you have more than one plot
What is figure(x) or subplot (1,2,1) (rows, columns, current plot)
200
Variables are displayed in this window in the Matlab environment
What is Workspace
200
True or False: Matlabs variable names are case-insensitive
What is False
300
This command will differentiate a function.
What is diff?
300
This logical conditional statement functions like a loop
What is If
300
This command puts a description of the x axis on a plot
What is xlabel
300
Variable names must start with this symbol
What is a letter
300
True or False: i is a reserved word in Matlab
What is True
400
How do you create an empty vector?
What is Varname = []
400
To stop a loop, what command would I use?
What is end
400
This command displays the symbol and name of each variable in a plot
What is Legend
400
True or False: This is a valid variable name in Matlab: Data from my file
What is False
400
True or False: load ('Filename.txt') will automatically generate a matrix of dimensions (row,col) if the file is space, comma, or tab-delimited.
What is True
500
This command creates a row vector
What is Varname = linspace (a,b,c) Varname = [a b c d...] Varname = [a,b,c,d...] Varname = a:b:c start:stride:stop
500
For an If conditional statement, how do you tell the computer to do something else?
What is else or elsif
500
This command puts a title on a graph
What is title ('title')
500
This is an example of a command that creates a matrix with dimensions 4 rows and 3 columns.
What is Varname = [a b c;d e f;g h eye;j k l]
500
Humans are smart. Computers just do what you tell them.
What is True.
Continue
ESC
Reveal Correct Response
Spacebar
M
e
n
u
Team 1
0
+
-
MATLAB Jeopardy
No teams
1 team
2 teams
3 teams
4 teams
5 teams
6 teams
7 teams
8 teams
9 teams
10 teams
Custom
Press
F11
Select menu option
View > Enter Fullscreen
for full-screen mode
Edit
•
Print
•
Download
•
Embed
•
Share
JeopardyLabs