Main Content

planerot

Givens plane rotation

Syntax

[G,y] = planerot(x)

Description

[G,y] = planerot(x)wherexis a 2-component column vector, returns a 2-by-2 orthogonal matrix G so thaty = G*xhasy(2) = 0.

Examples

x = [3 4]; [G,y] = planerot(x') G = 0.6000 0.8000 -0.8000 0.6000 y = 5 0

Extended Capabilities

See Also

|

Introduced before R2006a