open .bin file

24 views (last 30 days)
Akriti Raj
Akriti Raj on 22 Feb 2021
Commented: Akriti Raj on 25 Feb 2021
How can I extract binary numbers from .bin file?

Answers (1)

Gaurav Garg
Gaurav Garg on 24 Feb 2021
Hi Akriti,
You can make use of fread function (documentation link).
  4 Comments
Walter Roberson
Walter Roberson on 24 Feb 2021
It can be difficult to figure out what the storage format is in a binary file unless you have some information about the expected data range and distribution.
Which program produced the file?
Akriti Raj
Akriti Raj on 25 Feb 2021
@gaurav yes, I tried different arguments.
@walter These are random numbers generated from Quantum random number generator.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!