Navigation

Operators and Keywords

Function List:

C++ API

: hankel (c)
: hankel (c, r)

Return the Hankel matrix constructed from the first column c, and (optionally) the last row r.

If the last element of c is not the same as the first element of r, the last element of c is used. If the second argument is omitted, it is assumed to be a vector of zeros with the same size as c.

A Hankel matrix formed from an m-vector c, and an n-vector r, has the elements

H(i,j) = c(i+j-1),  i+j-1 <= m;
H(i,j) = r(i+j-m),  otherwise

See also: hadamard, toeplitz.

Package: octave