File Exchange Pick of the Week

Our best user submissions

Results for: Puzzler

Maze

Will‘s pick this week is Maze by Rodney Meyer.
This simple submission is surprisingly effective at providing hours of diversion. From the command line, you call the maze function with arguments… read more >>

Puzzler: Find largest connected island 25

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

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

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

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 >>