# hankel

Computes the Hankel matrix.

H = hankel(C)

H = hankel(C, R)

## Inputs

C
A vector used to assign the first column of the Hankel matrix.
R
A vector used to assign the last row of the Hankel matrix.

## Outputs

H
The Hankel matrix.

## Examples

One input:
c = [1:3];
h = hankel(c)
h = [Matrix] 3 x 3
1  2  3
2  3  0
3  0  0
Two inputs:
c = [1:3];
r = [3,8:10];
h = hankel(c, r)
h = [Matrix] 3 x 4
1  2  3   8
2  3  8   9
3  8  9  10