Compute square-root of the squares of x and y element-by-element. This equivalent to sqrt (x.^ 2 + y .^ 2), but calculated in a manner that avoids overflows for large values of x or y.
sqrt (
.^ 2 +
.^ 2)