find zeros of the Riemann zeta function
Version 1.0.2 (9.01 KB) by
Thomas
This function finds zeros of the Riemann zeta function on the critical line 0.5 + i*t in an interval von <= t <= bis
Run [Zeros = findZerosRiemannZetaSiegel2(von, bis, steplength) to find zeros of the Riemann zeta function on the critical line 0.5 + i*t in the intervail von <= t <= bis
The function mainly looks for sign changes in the real and imaginary part. The values are calculated using the Riemann-Siegel formula.
There is no gurantee to find all zeros, since some sign changes occur within very short distances and can be skipped. E.g: the real part of the zero for t=122.946829294... is below zero only for a tiny interval of t. So choose steplength sufficiently small!
Example: findZerosRiemannZetaSiegel(120, 130,0.01) will produce:
121.3701 121.3700 121.3800
124.2568 124.2500 124.2600
127.5167 127.5100 127.5200
129.5787 129.5700 129.5800
.... not finding the zero at t=122.946829294....
Try to run: findZerosRiemannZetaSiegel(120, 130,0.002) and the function will find it.
Cite As
Thomas (2024). find zeros of the Riemann zeta function (https://www.mathworks.com/matlabcentral/fileexchange/84265-find-zeros-of-the-riemann-zeta-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.