You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Inverse every 2D matrix slice (the first two dimensions) for multi-dimensional array M:
M(:,:,p,q,...) * X(:,:,p,q,...) = repmat(eye(m),[1,1,p,q,...]),
where input M is a N-D array (m x m x [p x q x ...]), for all possible m=1,2,3,...
and optional higher dimensions. Output X array has the same size as M.
Cite As
Xiaodong (2026). Inversion every 2D slice for arbitrary Multi-dimension array. (https://www.mathworks.com/matlabcentral/fileexchange/31222-inversion-every-2d-slice-for-arbitrary-multi-dimension-array), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Multiple matrix multiplications, with array expansion enabled, Multiple same-size linear solver
General Information
- Version 1.0.0.0 (2.37 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
