Modular Matrix Inverse in Zn

Modular Matrix Inverse,Modular determinate,Multiplicative Inverse and gcd
323 Downloads
Updated 26 Oct 2017

View License

Residue Matrices
Cryptography uses residue matrices: matrices in all elements are in Zn. All operations
on residue matrices are performed the same as for the integer matrices except that
the operations are done in modular arithmetic. One interesting result is that a residue
matrix has a multiplicative inverse if the determinant of the matrix has a multiplicative
inverse in Zn. In other words, a residue matrix has a multiplicative inverse if gcd
(det(A), n) = 1.

Cite As

Ali Broumandnia (2025). Modular Matrix Inverse in Zn (https://se.mathworks.com/matlabcentral/fileexchange/64813-modular-matrix-inverse-in-zn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

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

Update gcd function