Calculate the inverse of a matrix using Numpy

preview_player
Показать описание
In this short video, I'll show you how to find the inverse of a matrix using numpy, the python package. I'll also show you how to do matrix multiplication with numpy.

Standing desk for home office

WANT TO LEARN PYTHON? Try my courses:
How to Learn Data Science for Free. My YouTube video:

👌 SUBSCRIBE to ME!👌
Рекомендации по теме
Комментарии
Автор

This type of short video about 1-2 topics is really helpful. Easy to find the info needed. Thanks!

sk
Автор

Next time please also discuss numerical stability of the algorithm and rounding-error-creep. Those are important considerations when doing numerical computations using floating point numbers.

cernejr
Автор

But note that in practice you almost never want to compute the inverse of a matrix explicitly. This is one of the important lessons of numerical linear algebra. For example, when solving Ax = b, you'd typically compute the LU factorization of A (or perhaps the QR factorization of A) rather than explicitly computing the inverse of A. When changing basis from the standard basis to the basis consisting of the columns of a matrix Q, we are given a vector x and we need to compute y = Q^{-1} x. But the best way to do that is to solve the system Qy = x. To solve that system, you would not compute the inverse of Q explicitly.

Singularitarian
Автор

Clear and straight to the point. Thank you!

noahrubin
Автор

Very usefull beacuse im taking linera algebra in university and im looking for tools to help me out in everytnhing im learning <3... Id like to see more videos like thiss and like pandas and more tools to help us on calculus, probability and so on .. TY so much xo

williamgomez
Автор

Why are the off diagonals non-zero of np.matmul(M, Minv)? Is this due to the underlying precision of the C code running under the hood of numpy?

retinapeg
Автор

The matrix you used is the stiffness matrix of 4 springs connected in serries with stiffness of one

tomoki-vo
Автор

I believe M @ Minv and M.dot(Minv) would also do the same matrix multiplication operation with 2D numpy arrays.

brianbaker
Автор

Please share the vendor name for the desk

adilmajeed
Автор

is there a way to vectorize the inverse operation if we have two or more square matrices?

owaisch
Автор

is there a way to represent that matrix in 2-decimal format?

koramawin
Автор

Wanted to ask how was your journey with Open University. I'm planning to do a bsc mathematics and statistics honours :) for data science. Would love your opinion if it's a good choice :)

sukhamritsingh
Автор

I choked on my breakfast in the intro lol

koi
Автор

A multiplicação da matriz inversa pela matriz não deveria de resultar na matriz identidade? E não numa triangular superior...

SrNCJesus