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 (2025). Sparsity pattern (https://www.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
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 |