Sudoku Solver

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

Sudoku Solver

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

Netrunner Laser-Cut Identities

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.

M.C. Escher Ice Cube Molds

When staying at a bed-and-breakfast they had these really neat hexagonal ice cube trays. We picked up some of our own when we got home, but the thought was planted - “what other shapes could I do?” Of course, one of the most interesting space-filling tiling artists of all time has to be M.C. Escher.

Netrunner Card Boxes

Netrunner Card Boxes

I’ve been wanting to upgrade my Netrunner card storage for a while. Now that I have access to a laser cutter/engraver, I finally took the plunge and designed these boxes. I think they turned out fantastic!