05 October, 2014

Generate random numbers with a given distribution

The rand function in MATLAB returns uniformly distributed pseudorandom values, but we often need random numbers of other kind of distributions.
A great article written by John S. Denker explains a method of generating random numbers with arbitrary distribution. This post is based on his work, and shows a simple MATLAB implementation.

Read more

21 April, 2014

Understanding the Hough transform #2

In a previous post the basics of the Hough transform were explained. Although we have the built-in hough function in MATLAB to do this operation, it is definitely worth to write our optimized version for study purposes. In addition this lets us to have a function meeting our needs better if needed.

Read more

Home← Older posts