nthroot
- :
y =nthroot(x, n)¶ Real n-th root of the real array x. n must be a real, nonzero scalar. Negative elements of x are allowed only when n is an odd integer, in which case the real root is returned. For integer n the result is refined so that exact roots of perfect powers are returned exactly.