Sudoku(Solver)
by Xin Lin
04 Aug 2006
A solver to solve all 9*9 Sudoku puzzles. Results will be plotted.
|
Watch this File
|
| File Information |
| Description |
I'm a fan of Sudoku.
It's a solver to deal with those too-difficult Sudoku.
Puzzle matrix is put in OriMat.
Idea of the program is shown in the following:
the problem is solved through 2 steps
step1: with function SudokuMethod1
in each square, list all the possible numbers
if there is only 1 possible numbers, this is the one
if in each row, column or block, one possible number occurs
only once, this is the one
step2: if there is only 2 possible number in one square
try each one to see which one is the correct one |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
| Other requirements |
on Windows XP, it works. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com