Fast Sudoku Solver Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: sudoku.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Michael Kleder (View more)

Fast Sudoku Solver script description:



Fast Sudoku Solver is a Matlab script for Games scripts design by Michael Kleder. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Publisher review:
Fast Sudoku Solver - Rapidly finds all possible solutions to a sudoku puzzle SUDOKU - rapidly find all possible solutions to a sudoku puzzleUsage: Mout = sudoku(M)M = intial sudoku matrix, with zeros for empty entriesMout = solution as a 9x9 matrix if there is a unique solution, or as a 9x9xN matrix if there are N solutionsNotes:(1) The algorithm employs recursion, but does as much as it can with straighforward deterministic deduction at each recursion level to increase overall speed.(2) Supplying this function with an empty or overly sparse input matrix can create longer calulation times as the function searches for all possible solutions.(3) A "No solution" error is generated if the input puzzle has no valid solution.(4) Tested but no warranty, use at your own risk.(5) Michael Kleder, December 2006Examples:% find the unique solution to this puzzle in a fraction of a second:M = [0 0 8 0 9 0 5 0 0;0 0 1 0 7 0 4 0 0;0 0 4 0 3 0 6 0 0;0 1 0 0 0 6 0 0 7;0 9 0 0 0 3 0 0 0;0 2 0 0 5 0 0 6 0;0 5 0 0 4 0 0 2 0;0 0 0 8 0 0 0 3 0;6 0 0 1 0 0 0 4 0];sudoku(M)% find the 100 possible solutions to this puzzle in few seconds:M = [0 0 8 0 9 0 5 0 0;0 0 1 0 7 0 0 0 0;0 0 4 0 3 0 6 0 0;0 1 0 0 0 0 0 0 7;0 9 0 0 0 3 0 0 0;0 2 0 0 5 0 0 6 0;0 5 0 0 4 0 0 2 0;0 0 0 8 0 0 0 3 0;0 0 0 1 0 0 0 4 0];tic;M=sudoku(M);toc;size(M,3) Requirements: ยท MATLAB Release: R14SP3
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Jolla announced the first phone based on Sailfish OS, MeeGo's successor

Jolla announced the first phone based on Sailfish OS, MeeGo

Jolla continues the work started by Nokia that produced the Nokia N9 with the MeeGo version Harmattan. After Nokia abandoned the MeeGo project, the directors and core professionals from Nokia's N9 team left the company and formed Jolla.

Posted on: 20 May 2013 08:01 by A. Brown

Windows 8.1 will be free for Windows 8 users

Windows 8.1 will be free for Windows 8 users

Tami Reller, CFO and CMO of Windows, talked about how Windows 8 was received in the market and provided few details about future operating system update.

Posted on: 16 May 2013 06:07 by A. Brown

Mozilla Firefox 21 can already be downloaded

Mozilla Firefox 21 can already be downloaded

Once with the version 21 Mozilla Firefox Web browser received several enhancements to functionality and performance.

Posted on: 15 May 2013 02:08 by A. Brown

Microsoft might become the owner of the Nook tablet developed by Barnes and Noble

Microsoft might become the owner of the Nook tablet developed by Barnes and Noble

The success that Nook had until now increased the Barnes and Noble\'s stock price by 22% last year.

Posted on: 14 May 2013 02:34 by A. Brown

SPREAD THE WORD

User Rating

Fast Sudoku Solver
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

  • Currently 0.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5