[G, Y] = planerot(X)
| Parameter | Description |
|---|---|
| X | two-element column vector. |
| Parameter | Description |
|---|---|
| G | 2 by 2 orthogonal matrix. |
| Y | Y = G * X with Y(2) = 0. |
[G, Y] = planerot(X) computes the Givens rotation matrix for the two-element column vector X.
X = [4; 5];
[G, X] = planerot(X)
| Version | Description |
|---|---|
| 1.0.0 | initial version |