ndimcube

Renders n - dimensional axonometric cube.
1,6K download
Aggiornato 31 mar 2003

Nessuna licenza

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 .

Cita come

Valery Garmider (2025). ndimcube (https://it.mathworks.com/matlabcentral/fileexchange/3174-ndimcube), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R11
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Strategy & Logic in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

update