Sparse Toeplitz matrix construction

version (1.65 KB) by Toby Driscoll
Produces a sparse Toeplitz matrix given only the first row and column, like built-in Toeplitz.


Updated 13 Dec 2006

View License

This function bridges a small but annoying gap between TOEPLITZ, which constructs a Toeplitz matrix from its first row and column, and SPDIAGS, which creates a sparse matrix from its diagonals. SPTOEPLITZ has the same syntax and usage as TOEPLITZ, but it never constructs a dense matrix with more nonzeros than the final result.

Cite As

Toby Driscoll (2022). Sparse Toeplitz matrix construction (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!