Parses a matrix of pairwise comparisons into a string.
Version 1.1.0.0 (1,42 ko) par
Wei-Rong Chen
This function parses a matrix of pairwise comparisons into a string.
This function parses a matrix of pairwise comparisons into a string.
Example:
inputM = [ 0 1 1; 0 0 1; 0 0 0]
% >> inputM =
0 1 1
0 0 1
0 0 0
elements = {'a', 'b', 'c'};
outStr=PairwiseCompareMatrix2Str(inputM, elements)
>> outStr =
'a>b,c; b>c'
Citation pour cette source
Wei-Rong Chen (2024). Parses a matrix of pairwise comparisons into a string. (https://www.mathworks.com/matlabcentral/fileexchange/50540-parses-a-matrix-of-pairwise-comparisons-into-a-string), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Graph and Network Algorithms >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
En savoir plus sur Graph and Network Algorithms dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | . |
||
1.0.0.0 |
|