% script for reading data homework 3

fid=fopen('timech.dat','r');
timech=fscanf(fid,'%i');
fclose(fid);

fid=fopen('temp.dat','r');
temp=fscanf(fid,'%f');
fclose(fid);

fid=fopen('el.dat','r');
el=fscanf(fid,'%f');
fclose(fid);