30 September, 2014

An alternative of nchoosek for selecting all pairs

Sometimes we need to select all pairs from a set, for example to calculate the distance between all point pairs. Although the built-in function nchoosek provides a convenient way to do this, in this post an alternative method is described which runs about 188 times faster in case of 1000 elements.

Read more

11 August, 2014

MATLABtricks.com is back!

Dear MATLABtricks.com readers, I apologize for having not written to this blog for such a long time. The reason is that I was working on an image-processing related own project, called Imagatic. This is an online photo effect application, which requires only a modern web-browser to run, works on smartphones, tablets and PCs too. Hopefully it will have growing amount of effects as I am going to develop it further.

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

         
Newer posts →Home← Older posts