How to use it?
just call sudokuSolver() and enter the elements in appropriate places and then press >> to get the output. (all other function files are called by it)
If the program needs to try putting random solving, it will show first how much it could solve before trying it(as matrix b in command window) and then give the answer.In this case it will also create a back.mat file which can be used to find more solutions to the problem(if possible)
If the sudoku entered is incorrect, i.e., unsolvable, the output will be a null matrix or an error.
Random solving will give only one of the possible number of outputs.
Please let me know if someone wants code for 6X6 or of other size sudokus.Though I have not received any errors from this so far,please report if you encounter any.
PLEASE RATE THE SUBMISSION AND COMMENT!!!
Also check out a really amazing game ( i call logic game )available in file exchange.
Mohit Gupta (2020). Sudoku (https://www.mathworks.com/matlabcentral/fileexchange/29021-sudoku), MATLAB Central File Exchange. Retrieved .
Please send in suggestions and rate the submission.Also check out a really amazing game ( i call logic game )available in file exchange.
I've added an attractive Graphics-User-Interface to the program.
PLEASE RATE THE SUBMISSION AND COMMENT
NEED RATINGS PLEASE!
I've explained the ambiguities in the output obtained to make it more understandable
Inspired by: Simple Sudoku Solver