Matlab matrix operations
First, the addition and subtraction of the matrix
In matlab, the addition and subtraction of the matrix are the same as the addition and subtraction signs of the numbers, both are "+" and "-", the difference is that the two dimensions of the matrix must be the same
Second, number multiplication
Three, multiplication
The implementation of matrix multiplication also requires a condition that the number of rows in one matrix needs to be equal to the number of columns in another matrix. A * B is generally not equal to B * A
Four, point multiplication
Matrix dot product operation refers to multiplying elements at the same position in two matrices. The dimensions of the two matrices participating in the dot product must be the same, A. * B = B. * A
Five, power operation
Six, the inverse of the matrix
The inverse of the matrix is realized by the inv () function. Only if the matrix is non-singular, its inverse exists, so not all matrices are inverse.
7. Determinant value of matrix
The determinant value of the matrix is also implemented using a function, which is det (A)
Eight, the rank of the matrix
In summary; there are many matrix operations that matlab can implement, but because of my own lack of theoretical knowledge, I still cannot fully understand it, so I will share it after the theoretical knowledge is sufficient.