MATLAB Function Reference Previous page   Next Page
qrdelete

Delete column or row from QR factorization

Syntax

Description

[Q1,R1] = qrdelete(Q,R,j) returns the QR factorization of the matrix A1, where A1 is A with the column A(:,j) removed and [Q,R] = qr(A) is the QR factorization of A.

[Q1,R1] = qrdelete(Q,R,j,'col') is the same as qrdelete(Q,R,j).

[Q1,R1] = qrdelete(Q,R,j,'row') returns the QR factorization of the matrix A1, where A1 is A with the row A(j,:) removed and [Q,R] = qr(A) is the QR factorization of A.

Examples

returns a valid QR factorization, although possibly different from

Algorithm

The qrdelete function uses a series of Givens rotations to zero out the appropriate elements of the factorization.

See Also

planerot, qr, qrinsert


Previous page  qr qrinsert Next page

© 1994-2005 The MathWorks, Inc.