T = toeplitz(c,r)
T = toeplitz(r)
Toeplitz matrix is defined by just one row. toeplitz
generates Toeplitz matrices given just the row or row and column description.
T = toeplitz(c,r)
returns a nonsymmetric Toeplitz matrix T
having c
as its first column and r
as its first row. If the first elements of c
and r
are different, a message is printed and the column wins the disagreement.
T = toeplitz(r)
returns the symmetric or Hermitian Toeplitz matrix formed from vector r
, where r
defines the first row of the matrix.
c = [1 2 3 4 5];
r = [1.5 2.5 3.5 4.5 5.5];
toeplitz(c,r)
Column wins diagonal conflict:
ans =
1.000 2.500 3.500 4.500 5.500
2.000 1.000 2.500 3.500 4.500
3.000 2.000 1.000 2.500 3.500
4.000 3.000 2.000 1.000 2.500
5.000 4.000 3.000 2.000 1.000
hankel
,vander
(c) Copyright 1994 by The MathWorks, Inc.