[swCube.m] Function for Rubik Cube Operations
- swCube(Tp) %sw: Present each step of operation in a figure, and pause 'Tp' second for each step (default 'Tp=0.2');
- swRView(vT) %sw: 3D rotating view of the Rubik cube, with viewing time 'vT' (default 'vT=10');
- rcOpNames %sw: A table of standard operation names, with a picture on the numberings of the Rubik cube;
- rcOpM(Oseq,strV) %sw: Translate an operation sequence under a new view;
- rcOpInv(Oseq) %sw: Output the inverse of an operation sequence;
Citation pour cette source
Swank Williams (2024). [swCube.m] Function for Rubik Cube Operations (https://www.mathworks.com/matlabcentral/fileexchange/154306-swcube-m-function-for-rubik-cube-operations), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.2 | [1.0.2] Second revised version: Main function has been updated, with changing "[D,R,B,L,F,U]" to "[D,L,F,R,B,U]", adding "D2,E2,..." to the operation names, and adding new functions [rcOpNames.m], [rcOpM.m], [rcOpInv.m]. |
||
1.0.1 | [1.0.0] Version for publication;
|
||
1.0.0 |