

% example of the priors of mass density and layer thickness

% layer thickness

la=.1;
le=30.;
linc=.1;
l0=4.;



il=0;
for l=la:linc:le,
   il=il+1;
   lv(il)=l;
   f(il)=1/l0*exp(-l/l0);
end

% layer thickness

la=.1;
le=30.;
linc=.1;
l0=4.;



il=0;
for l=la:linc:le,
   il=il+1;
   lv(il)=l;
   f(il)=1/l0*exp(-l/l0);
end




plot(lv,f)
xlabel(' Thickness d (km)  ')
ylabel(' P(d) ')