I have to test some "random numbers" with diehard, generated by a program in MATLAB. Diehard accepts only a 32 bit binary file (single precision), but if I save my data in MATLAB, it is saved in a binary file with double precision (so 2*64 = 128 bit binary file). How can I create a 32 bit binary file in MATLAB, working on a 64 bit system?I have to test some "random numbers" with dieha