Givens plane rotation
[G,y] = planerot(x)
[G,y] = planerot(x)
where x
is
a 2-component column vector, returns a 2-by-2 orthogonal matrix G
so that y = G*x
has y(2) = 0
.
x = [3 4]; [G,y] = planerot(x') G = 0.6000 0.8000 -0.8000 0.6000 y = 5 0