cv.magnitude - MATLAB File Help
cv.magnitude

Calculates the magnitude of 2D vectors

mag = cv.magnitude(x, y)

Input

Output

The function cv.magnitude calculates the magnitude of 2D vectors formed from the corresponding elements of x and y arrays:

dst(I) = sqrt(x(I)^2 + y(I)^2)
See also