Creating Matrices using Data Frames - English

19003 visits



Outline:

Data required in a matrix format Convert a data frame into a matrix Create a matrix with known data Add two matrices Subtract two matrices Multiply two matrices elementwise Perform true matrix multiplication Calculate the transpose of a matrix Calculate the determinant of a matrix