FUNCTION REFERENCE

hankel

Hankel matrix.

Hankel matrix.

Syntax

H = hankel(c)

Syntax

H = hankel(c, r)

hankel(c) is square with c as its first column and zeros below the first

anti-diagonal. hankel(c, r) has first column c and last row r; when the last

element of c and the first of r differ, the column wins.

Example

hankel([1 2 3], [3 4 5])   % [1 2 3; 2 3 4; 3 4 5]

Differences from MATLAB: real input only; no warning is printed for the

anti-diagonal conflict.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.