homo2cubo edit page

homochoric to cubochoric coordinates

Transforms homochoric coordinates of quaternions into cubochoric coordinates. This mpas the ball of radius (3*pi/4)^(1/3)) to the cube with edge length pi^(2/3).

Syntax

vCubo = homo2cubo(vHomo)

Input

xyz homochoric coordinates (x,y,z) of N points of the ball

Output

XYZ cubochoric coordinates (X,Y,Z) of N points of the cube