- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I am trying to divide one matrix by another. To do this I have to do a matrix inversion. Does anyone know if there is a specific command to do this directly as for the matmul command.
thanks in advance
eugenio
I am trying to divide one matrix by another. To do this I have to do a matrix inversion. Does anyone know if there is a specific command to do this directly as for the matmul command.
thanks in advance
eugenio
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot divide, you must multiply your matrix by the inverse of the other matrix (or multiply the inverse by your matrix - note that the order you do it is important for matrices - IGYKT).
ALso, not all matrices have inverses, so this area can be a can of worms if your matrix turns out to be the awkward type. There exist numerous methods for determining an inverse and whether one exists - you will have to find and link to a library which contains a suitable matrix-inversion routine, possibly one tailored to your specific type of matrix (e.g. symmetric, non-symmetric, block diagonal, real, complex, sparse, ill-conditioned, or any combination of these). Good luck.
ALso, not all matrices have inverses, so this area can be a can of worms if your matrix turns out to be the awkward type. There exist numerous methods for determining an inverse and whether one exists - you will have to find and link to a library which contains a suitable matrix-inversion routine, possibly one tailored to your specific type of matrix (e.g. symmetric, non-symmetric, block diagonal, real, complex, sparse, ill-conditioned, or any combination of these). Good luck.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page