# imsubtract

Utility function for images which subtracts a matrix or a constant from a given
matrix, `x`.

## Syntax

R = imsubtract(x, y)

## Inputs

`x`- Non-sparse, real 2D/ND matrix.
`y`- Non-sparse, real 2D/ND matrix or a scalar.

## Outputs

- R
- Type: ND matrix

## Examples:

```
R = imsubtract(imread('test.bmp'), 100);
```