FUNCTION REFERENCE

qrupdate

Rank-1 update of a QR factorization.

Rank-1 update of a QR factorization.

Syntax

[Q1, R1] = qrupdate(Q, R, u, v)

Q1*R1 = Q*R + u*v' for a full QR factorization [Q, R] = qr(A).

Example

[Q, R] = qr([1 2; 3 4]); [Q1, R1] = qrupdate(Q, R, [1; 0], [0; 1]); x = Q1*R1   % [1 3; 3 4]

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.