ABSTRACT

This chapter provides the basics for working with matrices. It shows how to create a matrix, basic operations, and calculating eigenvalues and eigenvectors. The entries of matrix define the number of rows and columns in the matrix. The rbind command can be used to combine a number of rows in a matrix. The chapter provides an example that illustrates how to insert a row of zeroes between the second and third rows of the matrix. It demonstrates the various ways for calculating the power of a matrix. The chapter also includes several exercise problems related to the concepts of matrices.