Linear Indexing. You can refer to the elements of a MATLAB ® matrix with a single subscript, A(k). MATLAB stores matrices and arrays not in the shape that they.