Scilab 6.0.0
- Scilab Help
- Elementary Functions
- Bitwise operations
- Complex
- Discrete mathematics
- Elementary matrices
- Log - exp - power
- Floating point
- Radix conversions
- Matrix manipulation
- Matrix operations
- Search and sort
- Set operations
- Signal processing
- Trigonometry
- and
- &
- cat
- cell2mat
- cellstr
- iscolumn
- isempty
- isequal
- ismatrix
- isrow
- isscalar
- issquare
- isvector
- lstsize
- modulo
- ndims
- nthroot
- num2cell
- or
- |
- sign
- size
- unwrap
Scilab Help >> Elementary Functions > nthroot
nthroot
Real nth root of real numbers
Syntax
y=nthroot(x,n)
Arguments
- x
real scalar or vector/matrix
- n
real scalar or vector/matrix
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 odd.
If n
is not a scalar, then the function proceeds elementwise.
Examples
nthroot(2, 3) nthroot(-2, 3) nthroot(-2, -3) nthroot(2, -3) nthroot([27 27], 3) nthroot([27 256], [3 4]) nthroot([27 256; 3125 46656], [3 4; 5 6])
Comments
Add a comment:
Please login to comment this page.