<< hadamard | Elementary functions | hex2dec >> |
H = hankel(c) |
H = hankel(c, r) |
First column of Hankel matrix: vector or scalar.
Last row of Hankel matrix: vector or scalar.
Hankel Matrix.
H = hankel(c) returns a square Hankel Matrix with c the first column of the matrix and the elements are zero below the main anti-diagonal.
H = hankel(c, r) returns a Hankel matrix with c as its first column and r as its last row.
If last element of c differs from the first element of r, then Hankel issues a warning and uses the last element of c for the anti-diagonal.
c = [1 2 3 4 5];
hankel(c)
hilb.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET