*)#u)()@$+((+_@$_@+_)$$+_)+_$@)$@+_)@++)$+_$@)+_$)+_$$+_+_@$+_)
EGR 1400 Exam 3 Study
Guide and Practice
Questions – Engineering
Fundamentals
Guidehttps://www.stuvia.com/dashboard!@_)#*)(@$)($@*($@)($@*_Page 1 EGR 1400 Exam 3 Study Guide and Practice Questions – Engineering Fundamentals.pdf
,EGR 1400 Exam 3 2026-02-25
Table
A rectangular array of data
script file
a sequence of MATLAB commands also called
program (also called M-files)
- Must begin with a letter
- Can be up to 63 characters long (31 in MATLAB 6)
- Can contain letters, digits, and the underscore characters - MATLAB is case sensitive
- No space is allowed
- No use of built-in functions
Rules about variable names:
Page 2 EGR 1400 Exam 3.pdf
,EGR 1400 Exam 3 2026-02-25
Array
a fundamental form that MATLAB uses to store and manipulate data
An array
a list of numbers arranged in rows and/or columns
characters (strings)
In addition to arrays of numbers, arrays in MATLAB can be made of a list of
True
Tables can be usually converted to arrays
True
In MATLAB a vector is created by assigning the elements of the vector to a variable
Page 3 EGR 1400 Exam 3.pdf
, EGR 1400 Exam 3 2026-02-25
- By known list of numbers (row, column) or functions
- By specifying the first, the spacing, and the last term (with or without brackets, forward and
backward)
- By specifying the first and last terms, and the number of terms (linspace command)
Creating a vector can be done in several ways:
False
The rule in creating a matrix is that some of the rows must have the same number of elements
- By known list of numbers (row, column) or functions
- By specifying the first, the spacing, and the last term
- By specifying the first and last terms, and the number of terms (linspace command)
Creating a matrix can be done in several ways:
Page 4 EGR 1400 Exam 3.pdf