source: liacs/la/opdr5/cramermatrix.m@ 294

Last change on this file since 294 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: 159 bytes
Line 
1function B = cramermatrix(A,i,b)
2% given matrix A, column nr i and vector b
3% form matrix B as A with column i replaced by b
4 B = A;
5 B(:,i) = b(:);
Note: See TracBrowser for help on using the repository browser.