function out=hh(in)
global choice

if choice==0,
        out=1-exp(-in.^2/8);
elseif choice==1,
        out=(1-exp(-in.^2/8)).*(abs(in)>4)+0.06*(abs(in)+1).*(abs(in)<=4)+0.05;
elseif choice==2,
        out=(1-exp(-in.^2/8)).*(abs(in)>3)+0.03*(abs(in)+1).*(abs(in)<=3)+0.03;
elseif choice==3,
        out=(1-exp(-in.^2/2)).*(abs(in)>2)+0.01*(abs(in)+1).*(abs(in)<=2)+0.01;
elseif choice==4,
	out=(1-exp(-in.^2/2)).*(abs(in)>1)+0.005*(abs(in)+1).*(abs(in)<=1)+0.005;
else
        out=zeros(size(in));
end
out=out/max(out(:));

