source: liacs/la/opdr5/rowswap.m@ 211

Last change on this file since 211 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 289 bytes
Line 
1function B = rowswap(A,i,j)
2 % ROWSWAP Given an m x n matrix A and two intergers i and j
3 % between 1 and m, this function produces an m x n matrix
4 % that results from intercharging row i and row j of A.
5 B = A;
6 B(i,:) = A(j,:);
7 B(j,:) = A(i,:);
Note: See TracBrowser for help on using the repository browser.