Difference between revisions of "Killdiag.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:killdiag.m}} Zeroes out the diagonal of a 2D spectrum using the brush with the specified dimensions. ==Syntax== spec=killdiag(spec,brush_dim) ==Argument...")
 
(Normalise sequential blank lines)
Line 19: Line 19:
 
==See also==
 
==See also==
 
[[killcross.m]], [[plot_2d.m]]
 
[[killcross.m]], [[plot_2d.m]]
−
 
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Revision as of 11:26, 25 April 2026

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

See also

killcross.m, plot_2d.m

Version 2.1, authors: Ilya Kuprov