ENGR 102 Chapter Notes - Chapter 2: Array Data Structure, Matrix Multiplication, Matlab
Document Summary
Matrix is a rectangular array of items in rows and columns. Array is a more common name for this. Is an ordered sequence of items of a given data type. Each item is an array element (usually / must be two dimensions or more) Scalar an item that could only store a single item (most common variables) 1 dimension (vector single list of items arranged either as one row / column) Inhomogeneous elements maybe different types (structure/cell array) Numeric elements are all numbers of the same type. Row (1 dimension of row x n columns) * can access an individual element using an integer within ( ), the number is known as an index * x = ______(#) x is a variable that is equal to __ array name (element number) Arithmetic array operation with a scalar is one type of array operation that applies in an arithmetic operation involving a scalar to each element in the array.