Sparsity pattern
Version 1.0.0.0 (1.32 KB) by
Pascal Schulthess
Apply sparsity pattern of one matrix to another.
OutPatternMatrix = sppattern(InPattern,InMatrix)
OutPatternMatrix - Output Matrix
InPattern - Target sparsity pattern
InMatrix - Matrix to apply sparsity pattern to
Cite As
Pascal Schulthess (2026). Sparsity pattern (https://in.mathworks.com/matlabcentral/fileexchange/27292-sparsity-pattern), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
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
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
