Recursively Solving Sudoku using MATLAB

par raulbehl
Type de fichier non supporté

I have used the traditional Brute Force method to get to the right solution of the Sudoku puzzle. The program consists of two functions i.e. check_sudoku and run_sudoku to solve the puzzle. The first function checks whether the given Sudoku puzzle has a solution or not (it basically checks that none of the digits in rows, columns and 3×3 square matrix are repeated) and the other one looks for a blank and start filling it with numbers from 1 to 9 checking the puzzle every time a number is filled. This is done recursively till there are no blank spaces left.

image of username raulbehl Flag of India Bangalore, India

Me concernant

I am currently working as a Design and Verification engineer at a leading Processor Development firm. My skills set include: i) Matlab/LabView/Logisim ii) Engineering Mathematics iii) Assembly (ARM, MIPS, PLP, x86, MARIE and pep/8) / Computer Architecture iv) Verilog/System Verilog/UVM v) Raspberry Pi/Arduino/TMS320C5535 eZdsp/TM4C123 vi) PSpice vii) C/C++, Qt, Python viii) Perl Happy to help! :-)

$25 $ US / h

130 évaluations
6.2

Étiquettes