Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Real nth root of real numbers

`Y = nthroot(X,N)`

While

`power`

is a more efficient function for computing the roots of numbers, in cases where both real and complex roots exist,`power`

returns only the complex roots. In these cases, use`nthroot`

to obtain the real roots.