cube
Cube (X^3).
Syntax
Section titled “Syntax”Y = cube(X)Description
Section titled “Description”Returns X.^3 element-wise. Faster than X.^3 because it avoids the general-power code path.
Example
Section titled “Example”cube(2) % 8