>> c=[1,2,3,4,5]; >> toeplitz(c) ans = 1 2 3 4 5 2 1 2 3 4 3 2 1 2 3 4 3 2 1 2 5 4 3 2 1
c=[1,2,3,4,5]; >> d=[1,2,4,5,6]; >> toeplitz(c,d) ans = 1 2 4 5 6 2 1 2 4 5 3 2 1 2 4 4 3 2 1 2 5 4 3 2 1