# killdiag.m

Zeroes out the diagonal of a 2D spectrum using the brush with the specified dimensions.

## Syntax

    spec=killdiag(spec,brush_dim)


## Arguments

    spec      - 2D matrix representing a spectrum

brush_dim - the width of the band to zero out
around the diagonal, points


## Outputs

    spec      - 2D matrix representing a spectrum