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.
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 (2024). Sparse Toeplitz matrix construction (https://www.mathworks.com/matlabcentral/fileexchange/13353-sparse-toeplitz-matrix-construction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Sparse Matrices >
Find more on Sparse Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |