x=rand(100,1)
max(x)
min(x)
median(x)
mean(x)
var(x)
var(x,1)
std(x)
std(x,1)
quantile(x,10)
quantile(x,9)
quantile(x,3)

figure(1)
hist(x,10)

figure(2)
edges=(0:0.1:1)'
freqs=histc(x,edges)
bar(edges,freqs,'histc')
