无许可证
To render n - dimensional cube type "ndimcube(n)"
On the screenshot you see a render
of "12-dimensional cube".
Rendering is processed recursively,
by copying "n-1" dim.cube and connecting the vertices of the two copies to get an "n" dimcube .
Interesting issue : it can be proved ,
that for n , that is different from the power of 2(i.e. 2^k), the render includes the center point of symmetry.
I couldn't however prove the opposite :
for n = 2^k ,the render doesn`t include the center .
As you`ll see, for n=2,4 and 8 ,
this is true. However I wasn`t able
to check it for n=16 on my computer.
Maybe it could be done on more
powerfull machine.
Warning! Don`t use it for big "n" : My computer(pentium 4) have got stuck for n = 14 .
引用格式
Valery Garmider (2024). ndimcube (https://www.mathworks.com/matlabcentral/fileexchange/3174-ndimcube), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | update |