Colormap Test Image8

Posted by Steve Eddins,

Today I want to tell you how and why I made these images:... read more >>

Juno Delivers1

Posted by Steve Eddins,

Customizing REGIONPROPS With Your Own Measurements9

Posted by Steve Eddins,

I saw a presentation last month that mentioned a user request to have the ability to customize regionprops. That is, a user wanted to be able to add their own measurement to regionprops.... read more >>

Frequency Samples for the Output of FFT2

Posted by Steve Eddins,

A MATLAB user recently contacted tech support with a question about the output of fft2. The user had a function, q(x,y), evaluated on an (x,y) grid. The grid evaluation produced a matrix that the user passed to fft2. The user's question: what are the spatial frequencies associated with the elements... read more >>

Chessboards, Implicit Expansion, REPELEM, and Unicode Chess Queens

Posted by Steve Eddins,

A few weeks ago, I wrote about a solver algorithm for the Eight Queens Problem. The post included diagrams like this one.... read more >>

The Eight Queens Problem – Generating All Solutions

Posted by Steve Eddins,

On April 20, I wrote about an algorithm for solving the Eight Queens Problem. In this problem, the task is to place eight queens on a chessboard so that none of the queens is attacking any other queen. Here is one solution.... read more >>

The Future of String Arrays in MATLAB

Posted by Steve Eddins,

At MathWorks, we almost never talk in detail about product features before they are released. That's why this week's Art of MATLAB blog caught my eye. Guest blogger Dave Bergstein describes in some detail how we expect support for string arrays to evolve in the future. If you do a lot of data analysis or text processing in MATLAB, it is worth your while to take a look at Dave's post.... read more >>

The Eight Queens Problem2

Posted by Steve Eddins,

Today I want to tackle a classic algorithm puzzle known as the Eight Queens Problem. In this problem, your task is to arrange eight queens on a chessboard so that none of the queens is attacking any of the others. Here is one solution.... read more >>

Variation on Connected Objects – Using Graphs

Posted by Steve Eddins,

Reader Uri Pe'er found an old post from 2011 about shortest paths in binary images, and he asked this follow-up question (paraphrased):... read more >>

Variations on Connected Objects – Using imfill

Posted by Steve Eddins,

Reader Uri Pe'er found an old post from 2011 about shortest paths in binary images, and he asked this follow-up question (paraphrased):... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.