A loop used to repeat a set of commands a specific number of times.
What is a for loop?
The most important elements (arguments) to define in a function.
What are the input and output?
A command used to clear the Command Window.
What is clc?
MATLAB is an abbreviation of these words.
What is Matrix Laboratory?
An example of a built-in function used to read different data files in MATLAB.
What are readtable, readmatrix, csvread, xlsread, importdata?
A function used to set the label of the x-axis.
What is xlabel('name').
The notation used to create a section break.
What are two percent symbols (%%)?
A symbol used to comment a line of code.
What is a percent sign (%)?
The decade in which MATLAB first appeared.
What are the 1970s?
A function used to display text or variables in the Command Window.
What is disp()?
A function used to plot the data as points (not the plot() function).
What is scatter()?
A function used to create a vector containing a row vector of n evenly spaced points between two numbers.
What is linspace?
A function that returns the length of the largest array dimension of an array.
What is length()?
A symbol added at the end of a line to prevent output from being displayed in the Command Window.
What is semicolon (;)?
A function used to give a title to a plot.
What is title('name')?
A function used to create multiple subplots within one figure (not to overlay plots on top of each other).
What is subplot()?
A command used to save variables to a .mat file.
What is save('filename.mat)?
A function used to generate random numbers.
What is rand()?
An array indexing used to extract the element in the second row and fifth column of a matrix A.
What is A(2,5)?
The full name of a .csv-file.
What is a Comma-Separated Values?
A loop that continues executing until a specified condition is met.
What is a while loop?
A symbol used to skip an output of a function.
What is tilde (~)?
A symbol used for comparison (equality) as well as used for assigning a name to a variable.
What is =? (== for comparison (equality) and = for assignment)s
A command used to load data from a .mat file.
What is load('filename.mat')?
What is max()?