File Exchange

image thumbnail

Solutions to the Soma Cube

version (4.95 KB) by

The 240 unique solutions to the Soma Cube.



View License

The Soma Cube is a popular physical puzzle. Computing all of the solutions is a challenging task, involving some math and some unusual combinatorial algorithms. The tables used in the MATLAB Soma Demo were computed in MATLAB V4 and then the code was lost. This is a recreation of that code.

Comments and Ratings (1)

Edward Vogel

In the code the line that reads: % all piece positions in terms of labels for V L R Z R S Y

Should that be "V L T Z R S Y" instead of "V L R Z R S Y"

Finally have Matlab and can work on this thing. Thanks!


Updated license


Added MathWorks copyright and references.

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today