From: chris on
just incase anyone thought the documentation could have poss been a tiny bit better for matlabs bootstrapping:

x = normrnd(10,2,100,1);
ci = bootci(1000,@nanmean,x); %my conf limits (95%)
[bootstat,bootsam] = bootstrp(1000,@nanmean,x);
mymean = mean(bootstat);

also of interest:

http://www.csp.curtin.edu.au/downloads/bootstrap_toolbox.html