title: Generating random numbers in matlab biased towards the boundaries
body: <p>I want to generate biased random numbers in matlab. Let me explain a bit more, by what I mean by biased.
  Lets say I have a defined upper bound and lower bound of 30 and 10 respectively.
  I want to generate N random numbers biased towards the bounds, such that the probability of the numbers lying close to 10 and 30 (the extremes) is more as compared to them lying some where in the middle.
  How can I do this?
  Any help is much appreciated :)</p>