Matrix Operations

MATLAB commands for matrix operation

Type: A+B to add matrices A and B.
Type: A-B to subtract matrix B from the matrix A.
Type: A*B to multiply A and B.
Type: A' to find the transpose of the matrix A.
Type: A^2 to raise the matrix A to the second power.
Type: 3*A to all the entries of the matrix A by 3.