hypot()
Returns the hypotenuse as a real or complex number
Syntax
hypot(x, y)
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | x value | (-∞, ∞) | integer, real, complex | yes |
| y | y value | (-∞, ∞) | integer, real, complex | yes |
Examples
hypotV = hypot(1,2)
returns 2.236
hypotCV = hypot(1+j*0.2,2-j*1.1)
returns 2.342/-23.424
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()