Hankel matrix
H = hankel(c)
H = hankel(c,r)
H = hankel(c) returns the
square Hankel matrix whose first column is c and
whose elements are zero below the first anti-diagonal.
H = hankel(c,r) returns
a Hankel matrix whose first column is c and whose
last row is r. If the last element of c differs
from the first element of r, the last element of c prevails.
A Hankel matrix is a matrix that is symmetric and constant across
the anti-diagonals, and has elements h(i,j) = p(i+j-1),
where vector p = [c r(2:end)] completely determines the Hankel matrix.
A Hankel matrix with anti-diagonal disagreement is
c = 1:3; r = 7:10;
h = hankel(c,r)
h =
1 2 3 8
2 3 8 9
3 8 9 10
p = [1 2 3 8 9 10]