NGUYENHUYHIEU
Civil/Environmental
- Jul 29, 2009
- 1
Hi all,
Anyone knows how to form a matrix as below:
bigC = [
C0 C1 C2 ...... C(n-1)
C1 C0 C1 ...... C(n-2)
C2 C1 C0 ...... C(n-3)
......................................
C(n-1) C(n-2) C(n-3) ...... C0 ] ???
where Ci's are square matrices.
The toeplitz command works well if Ci's are numbers, for example:
c = [1 2 3 4 5];
r = [1 2 3 4 5];
toeplitz(c,r)
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
Any suggestions if Ci's are matrices?
Thanks
Anyone knows how to form a matrix as below:
bigC = [
C0 C1 C2 ...... C(n-1)
C1 C0 C1 ...... C(n-2)
C2 C1 C0 ...... C(n-3)
......................................
C(n-1) C(n-2) C(n-3) ...... C0 ] ???
where Ci's are square matrices.
The toeplitz command works well if Ci's are numbers, for example:
c = [1 2 3 4 5];
r = [1 2 3 4 5];
toeplitz(c,r)
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
Any suggestions if Ci's are matrices?
Thanks