QAP Rand Matrix Swap
Version 1.0.0.0 (1.08 KB) by
Puck Rombach
Randomly permutes an adjacency matrix, preserving the network it represents, as needed for QAP test.
This function shuffles an adjacency matrix in a way that preserves the structure of the network it represents. It only shuffles the order of the nodes; in other words, if the fourth column swaps places with the fifth column, then the fourth row also swaps places with the fifth row. Every entry on the diagonal stays on the diagonal.
Cite As
Puck Rombach (2024). QAP Rand Matrix Swap (https://www.mathworks.com/matlabcentral/fileexchange/30848-qap-rand-matrix-swap), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation >
Find more on Image Segmentation 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 |