hypot
Square root of sum of squares
📝Syntax
C = hypot(A, B)
📥Input Arguments
Parameter Description
A a variable: scalars, vectors, matrices, multidimensional arrays single or double
B a variable: scalars, vectors, matrices, multidimensional arrays single or double
📤Output Arguments
Parameter Description
R result of hypot: hypothenuse.
📄Description

hypot computes the hypothenuse.

If one or both inputs is NaN, then hypot returns NaN.

💡Examples
R = hypot(1e308, 1e308)
R = hypot(1e309, 1e309)
🔗See Also
abssqrt
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub