Learn R Programming

matrixcalc (version 1.0-6)

hankel.matrix: Hankel Matrix

Description

This function constructs an order n Hankel matrix from the values in the order n vector x. Each row of the matrix is a circular shift of the values in the previous row.

Usage

hankel.matrix(n, x)

Value

An order \(n\) matrix.

Arguments

n

a positive integer value for order of matrix greater than 1

x

a vector of values used to construct the matrix

Author

Frederick Novomestky fnovomes@poly.edu

Details

A Hankel matrix is a square matrix with constant skew diagonals. The determinant of a Hankel matrix is called a catalecticant. Hankel matrices are formed when the hidden Mark model is sought from a given sequence of data.

References

Power, S. C. (1982). Hankel Operators on Hilbert Spaces, Research notes in mathematics, Series 64, Pitman Publishing.

Examples

Run this code
H <- hankel.matrix( 4, seq( 1, 7 ) )
print( H )

Run the code above in your browser using DataLab