toeplitz

Core Math

Create a Toeplitz matrix (constant along diagonals). First column is c, first row is r. If r is omitted, creates a symmetric Toeplitz matrix.

Syntax

toeplitz(c)
toeplitz(c, r)

Examples

toeplitz([1, 2, 3])
▶ Run
toeplitz([1, 2, 3], [1, 4, 5])
▶ Run

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.