# magnitudecv

Computes the magnitude of 2D matrices.

## Syntax

R = magnitudecv(m1, m2)

## Inputs

`m1`- Real matrix with the same dimensions as
`m2`representing x-coordinates . `m2`- Real matrix with the same dimensions as
`m1`representing y-coordinates.

## Outputs

- R
- Handle of the output image, representing the magnidude.

## Example

```
src = imreadcv('cv3.jpg');
data = getcv(src);
m1 = data(:, :, 1);
m2 = data(:, :, 2);
R = magnitudecv(m1, m2);
```