Sqrt
Square root
Syntax
Sqrt(x) |
x is scalar |
Return a scalar which is the square root of x |
x is matrix |
Return a matrix in which the element is square root of the element in x |
Example
Input |
Output |
sqrt(2) |
|
sqrt(1 + 2i) |
|
sqrt([1+i, 0, 1-i]) |
|
sqrt([i, 1-3i; -2i, 5]) |
See Also
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad