Space-filling Sudoku Solver

Includes a 4x4 solver, a 9x9 solver and a PDF presentation.

이 제출물을 팔로우합니다

Sudoku can be solved as a space-filling. The idea is to take each digit in turn and place it in all its grid positions at once. A 4x4 solver was first developed to understand and plan the 9x9 solver. The critical concept is the collection of templates that describe the grid positions of any single digit in the completed puzzle. The templates are available in a .mat file, but can be regenerated by setting the internal variable 'saving' to 1. The programs use MATLAB nested functions and closures to provide an efficient OO implementation.

인용 양식

Bill McKeeman (2026). Space-filling Sudoku Solver (https://kr.mathworks.com/matlabcentral/fileexchange/48123-space-filling-sudoku-solver), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Sudoku에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.2.0.0

Tweaked description and fixed some bogus test cases.

1.1.0.0

I have added input checks and some sanity checks to avoid long computations searching for non-existent solutions. I have re-ordered the search to improve performance.

1.0.0.0