Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Elementary Functions > nthroot

nthroot

Real nth root of real numbers

Calling Sequence

y=nthroot(x,n)

Arguments

x

real scalar or vector/matrix

n

real scalar

Description

nthroot(x,n) is the real vector/matrix of the nth root of the x elements. If x has negative elements, n must be an odd.

Examples

nthroot(2,3)    
nthroot(-2,3)    
nthroot(-2,-3)
nthroot(2,-3)

See Also

  • hat — (^) exponentiation
  • sqrt — square root
  • sqrtm — matrix square root
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:34:42 CEST 2012