Two cols of red and black horses are placed on left and right,.chose a horse and its position from th right window and swap it, the horses move according to the chess play...well find the minimum plays to swap two rows !
Ravi Lakkundi (2021). Swap horses (https://www.mathworks.com/matlabcentral/fileexchange/5041-swap-horses), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
It doesn't work