# rotateplane

Version:

Returns a rotation matrix that transforms the input vector into a two-element column vector whose second element is equal to 0.

## Syntax

[c, d] = rotateplane(a)
Legacy name: planerot

## a

Two-element column vector.

## c

2-by-2 rotational matrix that transforms a into d.

## d

Two-element column vector whose second element is equal to 0.

A = [1; 1];
[C, D] = rotateplane(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported