source:
liacs/la/opdr5/cramermatrix.m@
144
Last change on this file since 144 was 2, checked in by , 15 years ago | |
---|---|
File size: 159 bytes |
Line | |
---|---|
1 | function 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.