FUNCTION REFERENCE

gsvd

Generalized singular value decomposition.

Generalized singular value decomposition.

Syntax

sigma = gsvd(A, B)

Syntax

[U, V, X, C, S] = gsvd(A, B)

Syntax

[U, V, X, C, S] = gsvd(A, B, 0)

A = U*C*X' and B = V*S*X' with C'*C + S'*S = I. One output returns the generalized singular values. The third argument 0 gives the economy-size decomposition.

Example

gsvd([1 2; 3 4], eye(2))'   % [0.3660 5.4650]

Differences from MATLAB: Some results differ in the last printed digit, and the economy form can return a singular-vector pair with the opposite sign.

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