Sparsity pattern

Apply sparsity pattern of one matrix to another.
403 Downloads
Updated 19 Apr 2010

View License

OutPatternMatrix = sppattern(InPattern,InMatrix)

OutPatternMatrix - Output Matrix
InPattern - Target sparsity pattern
InMatrix - Matrix to apply sparsity pattern to

Cite As

Pascal Schulthess (2024). 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 Linux
Categories
Find more on Sparse Matrices in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0