Write a MATLAB function to read in a le by name and return t
Write a MATLAB function to read in a le by name and return the double form of the grayscale
matrix representing your picture.
Solution
The first line of mydata.dat is
Read the first line of the file, ignoring the characters Type in the second field.
returns
Specifying Type%d in format causes the characters Type in the second field to be ignored, while the rest of the second field is read as a signed integer, in this case, 1.

