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

Arrow Selection Math

I’m a recurve shooter preparing for the outdoor archery season again and it’s time to do some arrow selection. Do I want thick arrows or thin arrows? Thick arrows may gain you more points (although unlikely with the large target). And thin arrows are rumored to be less susceptible to wind effects. But let’s see — let’s do a bit of math!

Arrow Fletching

Found a great little customizable arrow fletching jig on thingiverse.

SWU / Magic Life Counter

After playing my first games of Star Wars Unlimited, I was inspired to design my own 3d-printed life counter. multicolor 3d printed swu high-republic life counter