Sudoku Solver

Published: Apr 1, 2008 by K. E. Claytor

A GUI that allows one to enter in a Sudoku and then solves it.

  • At this point it only uses a “forced method” and cannot solve all sudoku puzzles.
  • Stay tuned for Version 2 which should be able to solve even harder ones.

To use simply install the two matlab “.m” files to your matlab work path and then type in SudokuSolver.

SudokuSolver.m - The GUI that allows easy interface to building a Sudoku matrix (not required).

SudokuCore.m - The program that actually solves the 9x9 matrix (required).

initial puzzle through the ui

A screenshot of the Sudoku GUI before solving

solved sudoku puzzle

A screenshot of the Sudoku GUI after solving - This one was rated a 5 of 5 in the Houston Chronicle.

Revision history;

  • Version 1.0 - Functional forced method
programming, optics

Share

Latest Posts

House Temperature Logging

I was interested in temperature, humidity monitoring around the house to see if there were any trends, or if the basement was getting too humid. In particular, looking for a low-effort way to get data into a dashboard, I was eager to try out the AdafruitIO framework. They limit you to two managed whippersnapper devices (but you can have more using your IO key), and 10 feeds (this is the real limiter, with each stream of data being one feed).

Netrunner Laser-Cut Identities (Smoke & Outfit)

After the success of the last Netrunner laser-cut ID’s I thought I would do another set for East Coast Nationals 2023. This was right before Smoke (one of my favorite runners) was going to rotate, and The Outfit was doing super strong, so I had an easy time deciding what to do.

Netrunner Laser-Cut Identities

I’ve been using the laser cutter/engraver to generate some Netrunner identities for some time, and finally got some that look really good.