Random Hermitian Matrix Generator

Generates a random nxn Hermitian matrix.

You are now following this Submission

My first Matlab coding attempt so go easy if you find a bug or something. I made this to look at the spacing between eigenvalues of random Hermitian matrices and see how they resemble the spacings of Riemann Zeta function zeros.

Cite As

Marcus (2026). Random Hermitian Matrix Generator (https://www.mathworks.com/matlabcentral/fileexchange/25912-random-hermitian-matrix-generator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Simplified code, positive&negative values

1.1.0.0

Simplified greatly, preallocated matrix, tidied up useless commands and loops.

1.0.0.0