Sometimes it is challenging and broadens the mind to find different solutions for a given task. In this post three methods for generating a checkerboard matrix is discussed. A checkerboard matrix looks like this...

Read more

During signal processing, it is often needed to select a subset of the input data: in this post a similar task is solved demonstrating vectorization of MATLAB code. Two variants of the vectorized algorithm is analyzed: surprisingly one of them is slower than the straightforward way using for loops.

Read more

Sometimes it is very useful to apply a simple pattern-search on a dataset in MATLAB. The currently explained example is to search for subsets, which are monotonically decreasing and are at least four-element long...

Read more

ASEE Challenge problem set in MATLAB Cody consists of really challenging tasks needing more complex way of thinking. These problems are worth to have the effort to solve them. One of the favourites is Find the biggest empty box: during discussing different solutions two-dimensional convolution is explained more...

Read more

Edward Rosten's FAST corner detector is a great tool for anyone interested in finding corner points on a grayscale image. In this post the basic idea behind this detector is explained. In addition an interactive demo is available to have an experiment on it...

Read more

Some important image processing tasks are done by two-dimensional convolution using simple 3x3 kernels: we will have a look at the most frequently used ones. At the end of this post there is an interactive demo, where you can try and play with them...

Read more