FUNCTION REFERENCE
qrinsert
Insert a column or row into a QR factorization.
Insert a column or row into a QR factorization.
Syntax
[Q1, R1] = qrinsert(Q, R, j, x)Syntax
[Q1, R1] = qrinsert(Q, R, j, x, 'col')Syntax
[Q1, R1] = qrinsert(Q, R, j, x, 'row')Returns the QR factorization of A with x inserted before column (or row) j.
Example
[Q, R] = qr([1 2; 3 4]); [Q1, R1] = qrinsert(Q, R, 3, [1; 1]); x = Q1*R1 % [1 2 1; 3 4 1]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.