Page 1 of 1

draw_prior_density.m

PostPosted: Sun Dec 25, 2011 11:49 pm
by bruzzle
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):
Code: Select all
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