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

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

MATLAB Cody is a good starting point for anyone, who wants to learn MATLAB. Multiple solutions can be given for a single task: it is worth to follow their evolution and efficiency. The currently analyzed task is Cody problem #17...

Read more

Do not get confused if you see an extremly low solution size in MATLAB Cody: this is achieved by using dynamic regular expressions having usually a code size of 10 or 11. Of course the explained method in this post is cheating, so please do not use this...

Read more

MATLAB Cody is a useful place not only for having the compelling to solve different interesting problems in the smartest way, but for learning from the solutions of others. Now a very clever solution on Cody problem #73 is discussed....

Read more

The *ans* variable is created automatically in MATLAB when no output argument is specified. Using it wisely the size of a MATLAB Cody solution can be slightly reduced...

Read more