Toeplitz矩阵

>> 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

 

转载于:https://www.cnblogs.com/xlqtlhx/p/6118571.html

你可能感兴趣的:(Toeplitz矩阵)