Difference between revisions of "Killcross.m"
(Normalise sequential blank lines) |
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:killcross.m}} | + | {{DISPLAYTITLE:killcross.m}} __NOTOC__ |
Zeroes the specified rows and columns of a matrix. | Zeroes the specified rows and columns of a matrix. | ||
Revision as of 17:28, 5 June 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
Version 2.1, authors: Ilya Kuprov