Recursive Sudoku Solver in MATLAB
Version 1.2.0.0 (1.76 KB) by
Josip
A Sudoku solver that takes a (9x9) matrix and outputs the solved matrix.
This solves a Sudoku puzzle (given that it is initially valid) recursively. While it isn't the fastest, I think it's nice for 18 lines worth of code. I made another one that's faster, but it's substantially longer.
Cite As
Josip (2024). Recursive Sudoku Solver in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/44272-recursive-sudoku-solver-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
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.