function disc = binary_discrete(bins,x,min_v,max_v,miu,sigm,median)
  
  if (x > 1)
    disc = 1;
  else
    disc = 0;
  endif

endfunction
