% no prior (uniform prior):
close all;
x = 0:0.001:1;
figure;
area(x,betapdf(x,1,1));
axis([-0.25 1.25 0 5]); xlabel('\theta');ylabel('p(\theta)');title('prior');