# Generating a Hankel Matrix

### Description

Functions to generate a Hankel matrix.

### Usage

1 |

### Arguments

`x` |
numeric vector to specify the entries of the matrix. Should have an even number of entries. |

`nrow` |
integer, must be at most length(x) |

`ncol` |
integer, must be at most length(x) |

### Details

Computes a Hankel matrix. If we denote the vector *x=(x_1,…,x_n)* the Hankel matrix is defined and formed as

*A matrix where each antidiagonal of the matrix is constant.*

### Value

a matrix as defined above.

### Author(s)

Andrew Redd <aredd at stat.tamu.edu>

### Examples

1 | ```
Hankel(1:6)
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.