Inverse and Transpose in matrices in Machine Learning

Hritika Agarwal
2 min readJul 20, 2020

--

The inverse of a matrix A is denoted A^{-1}. Multiplying by the inverse results in the identity matrix.

A non-square matrix does not have an inverse matrix. We can compute inverses of matrices in octave with the pinv(A) function and in Matlab with the inv(A) function. Matrices that don’t have an inverse are singular or degenerate. The picture below summarizes all about the inverse.

The transposition of a matrix is like rotating the matrix 90° in the clockwise direction and then reversing it. We can compute transposition of matrices in MatLab with the transpose(A) function or A’

Output-:

--

--

No responses yet