hypot
Square root of sum of squares
Syntax
C = hypot(A, B)
Input argument
A - a variable: scalars, vectors, matrices, multidimensional arrays single or double
B - a variable: scalars, vectors, matrices, multidimensional arrays single or double
Output argument
R - result of hypot: hypothenuse.
Description
hypot computes the hypothenuse.
If one or both inputs is NaN, then hypot returns NaN.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated