Sudoku Generator
Version 1.1.0 (5.08 KB) by
Steve Lenk
Watch as successive solutions are generated using backtracking algorithm. Each step displayed, charset randperm gives variability.
Run testSudoku.m
An initial solution from scratch, then successive solution steps are generated and displayed.
Keep hitting space bar to generate another solution.
Sudoku Generator gives you a peek as successive solutions are generated.
Remember to make command window a bit large for proper visualization.
Randperm of charset gives apparent variability for each run.
Cite As
Steve Lenk (2024). Sudoku Generator (https://www.mathworks.com/matlabcentral/fileexchange/170376-sudoku-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.