File Exchange

image thumbnail

Sparse Toeplitz matrix construction

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

2 Downloads

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.

Comments and Ratings (4)

Borui Miao

Joe S

Great tool.

John D'Errico

A nice little utility.

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