andrea3robertson

8 Reputation

2 Badges

16 years, 240 days

MaplePrimes Activity


These are replies submitted by andrea3robertson

I have different x values (i.e. x1,x2,...,xn) that correspond to the particular row.  How can I incorporate this into the ToeplitzMatrix function below?

g:=n->LinearAlgebra:-ToeplitzMatrix([0$(n-1),c,b,a,0$(n-1)]);
c:=2x; b:=x; a:=3x2

x1   2x1    0     0    0  

x22   x2   2x2   0    0  

 0    x32   x3   2x3   0

 0     0    x42   x4   2x4

 0     0     0    x52    x5

Thanks!

I have different x values (i.e. x1,x2,...,xn) that correspond to the particular row.  How can I incorporate this into the ToeplitzMatrix function below?

g:=n->LinearAlgebra:-ToeplitzMatrix([0$(n-1),c,b,a,0$(n-1)]);
c:=2x; b:=x; a:=3x2

x1   2x1    0     0    0  

x22   x2   2x2   0    0  

 0    x32   x3   2x3   0

 0     0    x42   x4   2x4

 0     0     0    x52    x5

Thanks!

Page 1 of 1