[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;
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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 |