Home > freetb4matlab > special-matrix > hankel.m

hankel

PURPOSE ^

% Return the Hankel matrix constructed given the first column @var{c}, and

SYNOPSIS ^

function retval = hankel (c, r)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} hankel (@var{c}, @var{r})
% Return the Hankel matrix constructed given the first column @var{c}, and
% (optionally) the last row @var{r}.  If the last element of @var{c} is
% not the same as the first element of @var{r}, the last element of
% @var{c} is used.  If the second argument is omitted, it is assumed to
% be a vector of zeros with the same size as @var{c}.
%
% A Hankel matrix formed from an m-vector @var{c}, and an n-vector
% @var{r}, has the elements
% @iftex
% @tex
% $$
% H (i, j) = \cases{c_{i+j-1},&$i+j-1\le m$;\cr r_{i+j-m},&otherwise.\cr}
% $$
% @end tex
% @end iftex
% @ifnottex
%
% @example
% @group
% H(i,j) = c(i+j-1),  i+j-1 <= m;
% H(i,j) = r(i+j-m),  otherwise
% @end group
% @end example
% @end ifnottex
% @seealso{vander, sylvester_matrix, hilb, invhilb, toeplitz}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003