You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @stevenang ! I want to check randomness in matlab with your NIST. I have a problem with generating txt and bin files as an input, I am not sure that it is exactly what is required. Could you help me?
y=randi(2,[1,2^4])-1
s = sprintf('%d', y);
fileID = fopen('test.txt','w');
fwrite(fileID,s);
fclose(fileID);
s = sprintf('%d', y);
fileID = fopen('test.bin','w');
fwrite(fileID,s);
fclose(fileID);
The text was updated successfully, but these errors were encountered:
Hello @stevenang ! I want to check randomness in matlab with your NIST. I have a problem with generating txt and bin files as an input, I am not sure that it is exactly what is required. Could you help me?
The text was updated successfully, but these errors were encountered: