For example:
A = [1 0 0 0 0 0 0 0 0;
0 0 4 0 0 5 0 0 9;
0 0 0 8 0 1 0 7 0;
0 6 1 0 0 0 0 0 5;
9 0 0 7 0 4 0 0 3;
2 0 0 0 0 0 4 9 0;
0 4 0 5 0 8 0 0 0;
7 0 0 2 0 0 3 0 0;
0 0 0 0 0 0 0 0 1];
And the program instead of zeros give the right values.
引用
Jurij Rici (2025). Sudoku 9 x 9 (https://www.mathworks.com/matlabcentral/fileexchange/28248-sudoku-9-x-9), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2008b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |