Version (1.1 KB) by ja
Inverts an array of matrices using Gaussian elimination
Updated 4 Aug 2017

View License

Uses Gaussian elimination to create the inverse matrices for many small matrices. For example, if you had 1000 3x3 matrices, finding the inverse of all of them might require a for loop from 1 to 1000. But with this it requires only nested for loops from 1 to 3 and 1 to 3.

Cite As

ja (2024). ndinv(B,d) (https://www.mathworks.com/matlabcentral/fileexchange/63827-ndinv-b-d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Electrical Block Libraries in Help Center and MATLAB Answers
Tags Add Tags

Inspired by: ndmult(B,C,d)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

clarified comments