I am trying to read in spectroscopic data in using fopen and place the data into the y array. The file dimensions are 69 * 22533. What am I doing incorrectly?
x = 1:5; %5
y = zeros(69,22533);fileID = fopen('Pandora166s1_LabGSFC_20200115_L0_subset (1).txt','w');fprintf(fileID,'%d %4.4f\n',y);fclose(fileID);
Best Answer