Let\'s say I\'ve got a vector like this one:
A = [101:105]
Which is really:
[ 101, 102, 103, 104, 105 ]
And I
hankel(A) will get you the first matrix
hankel(A)
triu(toeplitz(A)) will get you the second one.
triu(toeplitz(A))
--Loren