MATLAB Flashcards
Study for Quiz (52 cards)
MATLAB is a program for doing what?
Numerical Computation
What type of problems was MATLAB originally designed to solve
Linear algebra-type problems using matrices
Is MATLAB a high-level language or slow-level language
MATLAB is a high-level language
Where was the MATLAB name derived from
MATrix LABoratory
True OR False:
MATLAB is an interpreted language
TRUE
The MATLAB language is a _____________ language
A high-level matrix/array language
Results of computations made in the command window are saved in variables in the _________
The Workspace
The semicolon(;) is used to ___ and _____ the MATLAB output for an expression ( when placed at the end of a statement)
suppress and hide
What operator is used to denote a comment?
%
what does … do?
It continues the statement on the next line
True or False:
Variables must begin with a letter
TRUE
True or False:
In MATLAB, some variables are arrays and or matrix.
FALSE!!!
In MATLAB, EVERY variable is an array or matrix.
True or False:
variables are NOT case-sensitive
FALSE!!!
Variables ARE case-sensitive
True or False:
Variables can be a mix of letters, digits, and underscores
TRUE
True or False:
Variables can be more than 63 characters long and can be generic
FALSE Variables can be UP TO 63 characters long and MUST be unique
True or False:
Variables may contain blank spaces or other types of punctuation like reserved characters
FALSE!!
Variables may not contain blank spaces or other types of punctuation such as reserved characters: % = + = ~ ; : ! ‘ [] () , @ # $ & ^
True or False:
When a semi-colon (;) is placed at the end of each command, the result is displayed
FALSE
When a semi-colon (;) is placed at the end of each command, the result is NOT displayed
True or False:
Less than sign (<)
TRUE
True or False:
Less Than or Equal sign (=<)
FALSE!!!
The proper sign is (<=)
True or False:
Greater Than sign (>)
TRUE
True or False:
Greater Than or Equal (>=)
TRUE
True or False:
Equal to (=)
FALSE the equal to sign is (==)
whereas the (=) is an assignment
True or False:
Not Equal to !=
FALSE!!
In MATLAB the not equal to sign is (~=)
What is the default display format
short ( four digits after the decimal point)