File Exchange

image thumbnail

sudoku.m

version 1.0 (3.74 KB) by

This is a piece of matlab code that implements our thoughts when solving a sudoku puzzle.

3 Downloads

Updated

View License

The code is separated in 4 intuitive steps. See comments inside file.

Comments and Ratings (1)

Amit Nambiar

Amit Nambiar (view profile)

I typed "sudoku([3 9 0 0 0 2 0 0 6;0 5 0 0 8 6 0 0 0;2 0 0 0 0 0 0 0 3;0 3 0 7 0 0 0 0 0;0 0 1 0 6 0 8 0 0;0 0 0 0 0 1 0 9 0;4 0 0 0 0 0 0 0 7;0 0 0 4 3 0 0 5 0;8 0 0 6 0 0 0 3 2])" in the command window and got the solved puzzle!

It worked correctly...Good job Nikolaos Tsagkarakis

MATLAB Release
MATLAB 7.13 (R2011b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video