Standard Sudoku 9x9 Solver

バージョン 1.3.0.0 (1.6 KB) 作成者: Ngo Nguyen
Solving the Sudoku game 9x9
ダウンロード: 365
更新 2014/3/19

ライセンスの表示

Execute time is fast ( < 1 second )
Easy to understand the code
The method of Recursive.
Function FindRestNumber: Find the available numbers that we can fill to the square. If the Sudoku is invalid, the error will be set to 1.

For ex: if the numbers of row,column and 3x3 is [ 1 4 5 6 ], the result of function is [2 3 7 8 9].

Function SDK: Fill directly the number to the square that has 1 case.
For ex: if B(1,1)=[1 2 3 5 6 7 8 9]-> A(1,1)=4
if B(1,1)=[1 2 3 6 7 8 9] -> A(1,1) cannot be filled.

Function SDK1: If the square now has more than 1 case, it will test for each number until the Sudoku is filled with all numbers.

引用

Ngo Nguyen (2024). Standard Sudoku 9x9 Solver (https://www.mathworks.com/matlabcentral/fileexchange/45932-standard-sudoku-9x9-solver), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSudoku についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.3.0.0

More explaination

1.2.0.0

Add Zip file

1.1.0.0

Update the ZIP file

1.0.0.0