%statistical measures

%obtain the temperature data

data=dlmread('temperature.dat',' ',3,0)

time=data(:,1)  %obtain the time
temp=data(:,2)  %obtain the temperature

min(temp)
max(temp)
median(temp)
mean(temp)
var(temp)
std(temp)

plot(time,temp,'-*b')
xlabel('Time (Hour)')
ylabel('Temperature')
title('Fairfax Hourly Temperature','FontSize',18)
legend('Temperature')


