Modular Matrix Inverse in Zn

Modular Matrix Inverse,Modular determinate,Multiplicative Inverse and gcd

You are now following this Submission

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 (2026). Modular Matrix Inverse in Zn (https://www.mathworks.com/matlabcentral/fileexchange/64813-modular-matrix-inverse-in-zn), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Update gcd function