Difference between revisions of "Killcross.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:killcross.m}} Zeroes the specified rows and columns of a matrix. ==Syntax== M=killcross(M,f1idx,f2idx) ==Arguments== M - a matrix f1id...")
 
(Normalise sequential blank lines)
Line 22: Line 22:
 
==See also==
 
==See also==
 
[[killdiag.m]], [[plot_2d.m]]
 
[[killdiag.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 the specified rows and columns of a matrix.

Syntax

    M=killcross(M,f1idx,f2idx)

Arguments

    M      - a matrix

    f1idx  - numbers of the columns that 
             should be zeroed

    f2idx  - numbers of the rows that 
             should be zeroed

Outputs

    M      - a matrix

See also

killdiag.m, plot_2d.m

Version 2.1, authors: Ilya Kuprov