Inversion every 2D slice for arbitrary Multi-dimension array.

Version 1.0.0.0 (2.37 KB) by Xiaodong
Inverse every 2D slice for an arbitrary N-D array (M).

1.1K Downloads

Updated Wed, 27 Apr 2011 18:18:20 +0000

View License

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 (2023). 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 .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0