File Exchange Pick of the Week

Our best user submissions

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the Original version of the page.

Results for: Puzzler

Puzzler: Find largest connected island 25

Posted by Doug Hull,

Every now and then we send MATLAB challenges through the department to help sharpen our programming skills. What amazes me is the sheer variety of solutions that people come up with.
Today, I have… read more >>

Puzzler: Overlapping rectangles 31

Posted by Doug Hull,

Today’s challenge is one where you need to figure out if two rectangles have a non-zero area of overlap.
The rectangles will be specified as follows:

Just fill in your part of the code until… read more >>

Puzzler: Six card poker 22

Posted by Doug Hull,

Update: This solution was found faster than expected. I have replaced the original with a stronger solution that I was holding in reserve. Congrats to DanK for solving the original ( found here… read more >>

Puzzler: Coin game 11

Posted by Doug Hull,

This is a simplified version of the first problem I ever attempted to solve in MATLAB. For my original problem, I was trying to figure out the probability of being on any square in the board game… read more >>