FUNCTION REFERENCE

qrdelete

Delete a column or row from a QR factorization.

Delete a column or row from a QR factorization.

Syntax

[Q1, R1] = qrdelete(Q, R, j)

Syntax

[Q1, R1] = qrdelete(Q, R, j, 'col')

Syntax

[Q1, R1] = qrdelete(Q, R, j, 'row')

Returns the QR factorization of A with column (or row) j removed.

Example

[Q, R] = qr([1 2; 3 4; 5 6]); [Q1, R1] = qrdelete(Q, R, 1); x = Q1*R1   % [2; 4; 6]

Differences from MATLAB: Some results differ in the last printed digit.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.