Saving randomly generated sequence into a binary file
Hello.
I wrote a simple logistics function that i use for my pesudo random number generator.I want to test it’s randomness so i downloaded a custom windows version of NIST STS.
the program rqeuires you to input the location of the binary file (.bin) of your data. i tried this code to save my sequence to .bin file but the program doesn’t recognize it.
please help.
the NIST-STS site : https://randomness-tests.fi.muni.cz/
i tried the demo .bin data that came with the software and it worked. only mine is being refused.
the code :
fileID = fopen(‘Sequence.bin’,’w’);
fwrite(fileID,(PRBG));
fclose(fileID);Hello.
I wrote a simple logistics function that i use for my pesudo random number generator.I want to test it’s randomness so i downloaded a custom windows version of NIST STS.
the program rqeuires you to input the location of the binary file (.bin) of your data. i tried this code to save my sequence to .bin file but the program doesn’t recognize it.
please help.
the NIST-STS site : https://randomness-tests.fi.muni.cz/
i tried the demo .bin data that came with the software and it worked. only mine is being refused.
the code :
fileID = fopen(‘Sequence.bin’,’w’);
fwrite(fileID,(PRBG));
fclose(fileID); Hello.
I wrote a simple logistics function that i use for my pesudo random number generator.I want to test it’s randomness so i downloaded a custom windows version of NIST STS.
the program rqeuires you to input the location of the binary file (.bin) of your data. i tried this code to save my sequence to .bin file but the program doesn’t recognize it.
please help.
the NIST-STS site : https://randomness-tests.fi.muni.cz/
i tried the demo .bin data that came with the software and it worked. only mine is being refused.
the code :
fileID = fopen(‘Sequence.bin’,’w’);
fwrite(fileID,(PRBG));
fclose(fileID); encryption, image processing, binary, output MATLAB Answers — New Questions