Question: ( 1 0 pts ) Some binary data files store a sequence of numbers in binary in format uint 8 . Write a function to

(10 pts) Some binary data files store a sequence of numbers in binary in format uint8. Write a
function to read from such data files. The function should have: (1) one input argument which is the
file path of the data file, and (2) two output arguments, the first is the minimal value in the data file
and the second is the maximal value in the data file.
As an example, the function should run as below using the TestBin.dat file for testing:
>>[X, Y, Z]= ReadBin('TestBin.dat')
X =
1
Y =
255
Z =
200

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!