Re:Getting Started with Random Matrices: A Step-by-Step Guide
by andi999 on Thursday December 10, 2020 @04:10AM
(#25371525)
Thanks. By saying 'NxN matrices from a Gaussian distribution' you mean each entry of the matrix is a sample of a Gaussian distribution, right? At least this is what the code is doing(there could be other meanings to this term)
https://en.wikipedia.org/wiki/Diagonalizable_matrix#Diagonal...
This is why is called the Gaussian Orthogonal Ensemble. The Unitary ensemble deals with unitary matrices for example. All of these ensembles deal with diagonalisable matrices.
The code is providing a numerical verification of the analytical formula. It is a simple code that samples symmetric matrices of different NxN size from a Gaussian distribution.
For N fixed, you draw a certain number of samples and you plot the eigenvalue distribution and compare it with the analytics. Then you can see that for small N there is a deviation from the analytical expression, as this was formally obtained in the large N limit.
Hope this clarifies.