You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact

Solving Sudoku with MATLAB



Raluca Marinescu, Eduard Paul Enoiu, Andrea Garcia , Ivan Castro

Publication Type:



Sudoku puzzles appear in magazines, newspapers, web pages and even books on a daily basis. In fact, millions of people around the world know how to play Sudoku. Many researchers have put a notable amount of effort to generate efficient algorithms to solve these puzzles. Some researchers showed that an algorithm to solve Sudoku games without trying a large amount of permutations does not exist. This report describes the development and implementation of a Sudoku solver using MATLAB. Furthermore, this report includes detailed descriptions of the creation of a graphical user interface and the implementation of a constraint-propagation algorithm used to complete Sudoku puzzles interactively.


author = {Raluca Marinescu and Eduard Paul Enoiu and Andrea Garcia and Ivan Castro},
title = {Solving Sudoku with MATLAB},
month = {March},
year = {2011},
url = {}