File Exchange

image thumbnail

Sparse Toeplitz matrix construction

version 1.0 (1.65 KB) by

Produces a sparse Toeplitz matrix given only the first row and column, like built-in Toeplitz.



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 (2)

Jesse Blocher

John D'Errico

A nice little utility.

MATLAB Release
MATLAB 7.3 (R2006b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video