00:01
We're investigating the pseudo -inverse function in matlab today.
00:05
We are given a matrix, so we can enter that here, 1 -20, and negative 1, negative 2, 3.
00:14
So we can find the pseudo -inverse using the p -inv function.
00:20
So we can do that to find our p -inverse, our pseudo -inverse of the matrix b.
00:25
And we should call this b -pinv.
00:31
So this script generates the matrix b and it'll calculate the bp inverse.
00:37
Now to check it, recall that an inverse, a pseudo -inverse preserves the columns by multiplication, by left multiplication.
00:47
So if our b -check, which comes out to be the original matrix, if b times b -pinned or b -p -inverse times b -again, that should come out to the original matrix b...