Knights Tour
Version 1.0.0.0 (4.83 KB) by
Sumit
This Program generates the knights tour for a given mXn board for a given position of the knight
This Matlab code is using the Warnsdroff's algorithm which calculates the knight's tour in the linear time, O(n) is its order of running time complexity.
This code is the final product of the Project of author and his project-mates of the "Discretizing and understanding Real life situations
through a Mathematical Lens" paper guided and Mentored by Dr. Shashi Aggarwal at Cluster Innovation Centre, University of Delhi.
Cite As
Sumit (2026). Knights Tour (https://www.mathworks.com/matlabcentral/fileexchange/44429-knights-tour), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |