Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

hankel

Syntax

H = hankel(c)
H = hankel(c,r)

Description

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.

Definitions

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.

Examples

collapse all

Create the Hankel matrix whose first column is c and whose last row is r.

c = 1:3;
r = 3:6;
h = hankel(c,r)
h =

     1     2     3     4
     2     3     4     5
     3     4     5     6

See Also

| |

Introduced before R2006a

Was this topic helpful?