The code is test to run properly with MATLAB 9.12.0.1975300 (R2022a) and Mathematica 13.1. Installation instructions: 1. Ask Folkmar Bornemann for RMT-Fredholm toolbox. 2. Put 'persistenceProbability.m' under the same directory of RMT-Fredholm toolbox. 3. Run the examples of Figure 1 in our paper, it can also be found in 'test.m'. Do not hesitate to contact the authors if you experience any problems: liu@iam.uni-bonn.de Min Liu, Feb 15, 2024