Draw_prior_density.m

Hi,

I have a specific question about draw_prior_density.m. Towards the end of the .m file I see the following block (this is for version 4.2.1):

k = [1:length(dens)];
if pshape(indx) ~= 5 
    [junk,k1] = max(dens);
    if k1 == 1 || k1 == length(dens)
        k = find(dens < 10);
    end
end

What does the line k = find(dens < 10) mean? Is 10 an arbitrary number with no significance? Or is it something that is coming from the properties of the distributions?

Thank you very much in advance,

B