y = nthroot(x,n)
returns the nth root of x with the phase angle closest
to the phase of x. The output y has symbolic data type
if any input argument is symbolic. The variables satisfy y.^n = x.
Input array for taking root, specified as a symbolic or numeric array. When taking
the root, the function acts element-wise.
If both x and n are nonscalar arrays, they
must have the same size. If any element of x or n
is symbolic and some elements are numeric, nthroot converts numeric
arguments to symbolic before processing.
Example: [sym(-8),sym(8);sym(-27),sym(27)]
Input array for order of root, specified as a symbolic array or real array.
If an element of x is not real and positive, meaning it is
either negative or has a nonzero imaginary part, then the corresponding element of
n must be a nonzero integer.
If an element of x is real and positive, then the
corresponding element of n can have any nonzero real
value.
If both x and n are nonscalar arrays, they
must have the same size. If any element of x or n
are symbolic and some elements are numeric, nthroot converts numeric
arguments to symbolic before processing.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.