luyunjun023 发表于 2008-12-14 21:00

请教:如何构造hankel矩阵

比如我有一列数据或几列数据,我想构造一个hankel矩阵怎么做,我想问的是如何控制hankel矩阵的维数。
不是直接hankel一下了事。

sogooda 发表于 2008-12-15 13:09

Hankel


Hankel matrix

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.

Definition


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 = completely determines the Hankel matrix.

Examples


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 =

luyunjun023 发表于 2008-12-15 16:55

谢谢你!
这个我看了,关键是还是不懂。
比如:我有3列数据,想用这三列构造一个hankel矩阵,怎么控制维数,主要是列数控制,比如我需要构造为10列的hankel矩阵。
直接hankel的话,hankel矩阵的行数=列数=原矩阵的行数*列数
页: [1]
查看完整版本: 请教:如何构造hankel矩阵