I'm trying to code the NIST test from randomness

(csrc.nist.gov/publications/nistpubs/800-22-rev1a/SP800-22rev1a.pdf)

using Matlab. I wish to release the test suit to the public once completed.

However the result of the example given in the "Discrete Fourier Transform (Spectral) Test" (section 2.6 page 34) does not tally with the results of my program. I think the problem is with the DFT.

Can anyone help me to locate the fault? I'm uploading my matlab file and the reference file.

More Gayan Dilantha Illeperuma's questions See All
Similar questions and discussions