ABSTRACT

Programming languages such as Ada, Eiffel, C++, and Java support arrays to handle large numbers of values in data collections. MATLAB and Octave can manipulate individual elements of arrays and provide functions that manipulate entire arrays with a single operation. To access a particular element of the array, an integer value or variable known as index is used with the name of the array. The values of the index represent the relative position of the element in the array. Figure 9.1 shows a simple array with 13 elements.