linalg
::toeplitz
Toeplitz matrix
MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
linalg::toeplitz(m
,n
,[t_{k}, …,t_{ k}]
, <R
>) linalg::toeplitz(n
,[t_{k}, …,t_{ k}]
, <R
>) linalg::toeplitz(c
,r
) linalg::toeplitz(r
)
linalg::toeplitz(m, n, [t_{k},
..., t_{1}, t_{0}, t_{1},
..., t_{k}])
returns the m×n Toeplitz
matrix
.
linalg::toeplitz(n, [t_{k}, ...,
t_{k}])
returns the square Toeplitz
matrix of dimension n×n.
A number of entries [t_{k}, …, t_{k}] must be an odd number 2 k + 1. There must be at least k diagonal bands above the diagonal and k diagonal bands below the diagonal: k must satisfy k ≤ min(m, n)  1. Entries with matrix indices (i, j) satisfying i  j > k are set to 0.
Toeplitz matrices of dimension n×n can
be inverted with O(n^{2}) operations.
See linalg::toeplitzSolve
.
linalg::toeplitz(c, r)
generates a nonsymmetric
Toeplitz matrix having c
as its first column and r
as
its first row. If the first elements of c
and r
differ, toeplitz
issues
a warning and uses the first element of the column.
linalg::toeplitz(r)
generates a symmetric
Toeplitz matrix if r
is real. If r
is
complex, but its first element is real, then this syntax generates
the Hermitian Toeplitz matrix formed from r
. If
the first element of r
is complex, then the resulting
matrix is Hermitian off the main diagonal, meaning that T_{ij} = conjugate(T_{ji}) for i ≠ j.
When you use matrices in MuPAD^{®} computations, both computational efficiency and memory use can depend on whether the matrix is sparse or dense. The first two syntaxes are optimized for generating sparse matrices and, therefore, these syntaxes are preferable. For details about improving performance when working with matrices, see Use Sparse and Dense Matrices.
Construct a 4×4 Toeplitz matrix with three bands:
linalg::toeplitz(4, [1, 2, 1])
Construct a 3×5 Toeplitz matrix with symbolic entries:
linalg::toeplitz(3, 5, [a, b, c])
Construct a Toeplitz matrix by using a vector to specify its first row. For a real vector, the resulting matrix is symmetric:
r := matrix([1, 2, 3]): linalg::toeplitz(r)
For a complex vector, the resulting matrix is Hermitian off the main diagonal:
r := matrix([1 + I, 2 + I, 3 + I]): T := linalg::toeplitz(r); htranspose(T)
Construct a Toeplitz matrix by using two vectors to specify its first column and first row:
c := matrix([1, a/2, b/2]): r := [1, a, b]: linalg::toeplitz(c, r)
If the first elements of the vectors differ, linalg::toeplitz
issues
a warning and uses the first element of the column:
c := matrix([1, a/2, b/2]): r := [2, a, b]: linalg::toeplitz(c, r)
Warning: First element of given column does not match first element of given row. Column wins diagonal conflict. [linalg::toeplitz]

Row and column dimensions of the matrix: positive integers. 

Arithmetical
expressions or elements of the component ring 

Component ring: a domain of category 

Vector specifying the first column of a Toeplitz matrix. 

Vector specifying the first row of a Toeplitz matrix. 
Matrix of the domain Dom::Matrix
(R)
.